Python 引用包

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hzk594512323/article/details/50907659

引用的包分为2种,build-in和extranal两种

1、build-in:

import os

print(os.getcwd)

2、extranal分为2种方式

easy_insatll:

pip:

需要注意的是:3.4的版本自带了可执行文件easy_insatll.exe和pip.exe,如果要使用,需要添加环境变量c:/python/Script。2.7版本需要自行下载安装。



猜你喜欢

转载自blog.csdn.net/hzk594512323/article/details/50907659