摘要: 1 查看python版本 python -V 注意:大V 或者 python --version 注意:两个‘-’ 查看python安装位置 python -c "import sys; print sys.executable" 或者 python -c "import os; print os. 阅读全文
posted @ 2018-11-23 20:21 Niuniuaba 阅读(13667) 评论(0) 推荐(0) 编辑
摘要: 命令:import syssys.path Python的自动搜索路径顺序如下:(1)程序的根目录(自动)(2)PYTHONPATH环境变量设置的目录(3)标准库的目录(自动)(4)任何能够找到的.pth文件的内容(5)第三方扩展的site-package目录(自动)可以通过设置‘环境变量’来添加、 阅读全文
posted @ 2018-11-23 20:14 Niuniuaba 阅读(8939) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u012654847/article/details/78357758 阅读全文
posted @ 2018-11-23 17:17 Niuniuaba 阅读(9172) 评论(0) 推荐(0) 编辑