如何查看Python的安装位置:
输入 where python
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
pyc文件:
pyc是二进制文件
py文件作为模块被import的时候,python为了提高解析速度。会对所有作为模块的py文件先作一个类似编译的动作。
python就不用再重新编译py文件。pyc不是拿来看的,是为了提高程序运行速度。要看源代码的话打开py文件即可。
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Lib和libs:
python文件夹下的lib和libs区别,lib是被reference的,libs是被include。
Scripts:脚本文件夹,是可执行文件。
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
cmd或者终端下输入:python 可以进入交互模式>>>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
相关连接:
如何查看Python 安装位置以及已经安装的库https://blog.csdn.net/JennyChen66/article/details/78487228