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.

  • 相关阅读:
    python第一课
    go反射----4构建
    go反射----3方法
    go反射----2值
    go生成xml
    go互斥锁Mutex
    go中的读写锁RWMutex
    go语言调用cmd
    go语言发送邮件
    go语言文件操作
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13349264.html
Copyright © 2011-2022 走看看