使用第三方模块
在Python中,安装第三方模块,是通过包管理工具pip完成的。
Mac或Linux上有可能并存Python 3.x和Python 2.x,因此对应的pip命令是pip3。
比如图片处理的框架Pillow 安装方式
pip3 install Pillow
常用的第三方库
https://github.com/vinta/awesome-python
所有的第三方模块都会在PyPI - the Python Package Index上注册
在Python中,安装第三方模块,是通过包管理工具pip完成的。
Mac或Linux上有可能并存Python 3.x和Python 2.x,因此对应的pip命令是pip3。
比如图片处理的框架Pillow 安装方式
pip3 install Pillow
常用的第三方库
https://github.com/vinta/awesome-python
所有的第三方模块都会在PyPI - the Python Package Index上注册