1. Unofficial Windows Binaries for Python Extension Packages 非官方的Python第三方库,提供基于Windows的二进制扩展包,由加州大学维护. 2. PyCrypto Prebuilt Python Binaries for Windows PyCrypto提供加密模块,Bottle-corker依赖于该模块. [Python] Unofficial Windows Binaries for Python Extension Pac
http://www.cc.gatech.edu/classes/AY2012/cs2316_fall/presentations/HOWTO_install_pymysql_windows.pdf 1. go to the fold of the package you want to install, it should have a "setup.py" file 2. run the command in cmd C:\Python27\python.exe setup.py
在Python中,一个目录被称为一个package.import和from语法除了导入module文件之外,还可以导入package,语法如下: # import语法 import dir1.dir2.mod #from语法 from dir1.dir2.mod import x 上面的导入语句中,.用来分割目录和文件名,上面导入的目录结构为dir1/dir2/mod.py.当然,也可以只导入目录: import dir1 import dir1.dir2 from dir1 import di