• 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.

  • 相关阅读:
    PHP函数之array_chunk
    C#常用的数据结构
    SQLServer锁和并发控制
    数据库堵塞和死锁详解
    SQLServer事务隔离级别
    HTML5 Canvas 为网页添加文字水印
    浏览器记住密码的自动填充Input问题完美解决方案
    C#队列Queue实现一个简单的电商网站秒杀程序
    C# 递归省市区三级树结构
    System.InvalidOperationException:“线程间操作无效: 从不是创建控件“txtPortName02”的线程访问它。”
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13349264.html
Copyright © 2020-2023  润新知