Linux下查看Python安装路径
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
·
python在下载、安装好之后,需要配置环境变量。
程序和可执行文件可以在许多目录,而这些路径很可能不在操作系统提供可执行文件的搜索路径中。
path(路径)存储在环境变量中,这是由操作系统维护的一个命名的字符串。这些变量包含可用的命令行解释器和其他程序的信息。
可通过以下命令查看Python安装路径 ,进入Python的交互式编程模式后。
import sys
print sys.path
特别注意的是,如果你使用的是python3,要注意print的语法,需要在print的后面加上括号。
print (sys.path)
A beautiful web dashboard for Linux
最近提交(Master分支:4 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐

所有评论(0)