• Python installation


    PIP:
    Python & OS Support

    pip works with CPython versions 2.6, 2.7, 3.2, 3.3, 3.4 and also pypy.

    pip works on Unix/Linux, OS X, and Windows.

    pip included with Python

    Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip by default [1], so you may have pip already.

    Install pip

    To install pip, securely download get-pip.py[2]

    Then run the following (which may require administrator access):

    python get-pip.py
    

    If setuptools is not already installed, get-pip.py will install setuptools for you. [3]

    To upgrade an existing setuptools, run pip install -U setuptools.

    Additionally, get-pip.py supports using the pip install options and the general options. Below are some examples:

    Install from local copies of pip and setuptools:

    python get-pip.py --no-index --find-links=/local/copies
    

    Install to the user site [4]:

    python get-pip.py --user
    

    Install behind a proxy:

    python get-pip.py --proxy="[user:passwd@]proxy.server:port"

    setuptools安装好后,
    (1)cd /d E:pip-7.1.2
    (2)python setup.py install
    https://pypi.python.org/pypi/pip

    xlrd

    xlrd 0.9.4

    Library for developers to extract data from Microsoft Excel (tm) spreadsheet files

    Extract data from Excel spreadsheets (.xls and .xlsx, versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). Strong support for Excel dates. Unicode-aware.

    (1)cd /d E:xlrd-0.9.4
    (2)python setup.py install

    E:xlrd-0.9.4>python setup.py install
    running install
    running build
    running build_py
    creating build
    creating buildlib
    creating buildlibxlrd
    copying xlrdiffh.py -> buildlibxlrd
    copying xlrdook.py -> buildlibxlrd
    copying xlrdcompdoc.py -> buildlibxlrd
    copying xlrdformatting.py -> buildlibxlrd
    copying xlrdformula.py -> buildlibxlrd
    copying xlrdinfo.py -> buildlibxlrd
    copying xlrdlicences.py -> buildlibxlrd
    copying xlrdsheet.py -> buildlibxlrd
    copying xlrd	imemachine.py -> buildlibxlrd
    copying xlrdxldate.py -> buildlibxlrd
    copying xlrdxlsx.py -> buildlibxlrd
    copying xlrd__init__.py -> buildlibxlrd

    https://pypi.python.org/pypi/xlrd




  • 相关阅读:
    【HDOJ】4347 The Closest M Points
    【HDOJ】4341 Gold miner
    【HDOJ】4333 Revolving Digits
    【HDOJ】4336 Card Collector
    【HDOJ】4328 Cut the cake
    【HDOJ】4322 Candy
    【HDOJ】4317 Unfair Nim
    串口接收线程退出与优先级问题
    EVC编程与调试过程出现的问题
    Windows CE创建桌面快捷方式
  • 原文地址:https://www.cnblogs.com/softidea/p/4930024.html
Copyright © 2020-2023  润新知