zoukankan      html  css  js  c++  java
  • pbp.scripts

    https://pypi.python.org/pypi/pbp.scripts
    
    node2:/root/pbp.scripts-0.2.5/pbp/scripts#export PYTHONSTARTUP=/root/pbp.scripts-0.2.5/pbp/scripts/pythonstartup.py
    node2:/root/pbp.scripts-0.2.5/pbp/scripts#python
    Python 2.7.3 (default, Mar 30 2017, 20:15:12) 
    [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    Traceback (most recent call last):
      File "/root/pbp.scripts-0.2.5/pbp/scripts/pythonstartup.py", line 2, in <module>
        import readline 
    ImportError: No module named readline
    >>> exit()
    node2:/root/pbp.scripts-0.2.5/pbp/scripts#pip install readline
    Collecting readline
    /usr/local/python27/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
      SNIMissingWarning
    /usr/local/python27/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
      InsecurePlatformWarning
      Downloading readline-6.2.4.1.tar.gz (2.3MB)
        100% |████████████████████████████████| 2.3MB 156kB/s 
    Installing collected packages: readline
      Running setup.py install for readline ... done
    Successfully installed readline-6.2.4.1
    node2:/root/pbp.scripts-0.2.5/pbp/scripts#python
    Python 2.7.3 (default, Mar 30 2017, 20:15:12) 
    [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import md5
    >>> md5
    md5
    >>> md5.
    md5.__class__(         md5.__file__           md5.__init__(          md5.__reduce__(        md5.__sizeof__(        md5.digest_size        
    md5.__delattr__(       md5.__format__(        md5.__name__           md5.__reduce_ex__(     md5.__str__(           md5.md5(               
    md5.__dict__           md5.__getattribute__(  md5.__new__(           md5.__repr__(          md5.__subclasshook__(  md5.new(               
    md5.__doc__            md5.__hash__(          md5.__package__        md5.__setattr__(       md5.blocksize          md5.warnings           
    >>> md5.
    md5.__class__(         md5.__file__           md5.__init__(          md5.__reduce__(        md5.__sizeof__(        md5.digest_size        
    md5.__delattr__(       md5.__format__(        md5.__name__           md5.__reduce_ex__(     md5.__str__(           md5.md5(               
    md5.__dict__           md5.__getattribute__(  md5.__new__(           md5.__repr__(          md5.__subclasshook__(  md5.new(               
    md5.__doc__            md5.__hash__(          md5.__package__        md5.__setattr__(       md5.blocksize          md5.warnings           
    >>> md5.

  • 相关阅读:
    从内存池到连接池 老码农眼中的资源池
    资源池(从内存池到连接池)
    资源池设计模式 (Resource Pool)和数据池的简单实现
    数据库连接池的工作原理
    原理 : 线程池、连接池、内存池
    聚簇索引与非聚簇索引(也叫二级索引)
    MyISAM 和 InnoDB 索引的区别
    MySQL 聚簇索引&&二级索引&&辅助索引
    关于如何提高Web服务端并发效率的异步编程技术
    为什么做java的web开发我们会使用struts2,springMVC和spring这样的框架?
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13349264.html
Copyright © 2011-2022 走看看