ubuntu下的路径

linux下的程序东西都装在一起了。Python的标准路径就是/usr/bin/python。
可以用命令
BatchFile code
<div><!--  Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/  --><span style="color: rgb(0, 0, 0);">which python
whereis python</span></div>
系统自带的是安装到/usr/bin下的
后来安装的一般在/usr/local/bin
import sys
print sys.path





http://topic.csdn.net/u/20080826/11/3c6d5a27-8698-4d6b-af5d-eb39d9dd1e89.html

http://tonychen123.blog.ubuntu.org.cn/2009/05/02/python%E6%B7%BB%E5%8A%A0%E9%BB%98%E8%AE%A4%E6%A8%A1%E5%9D%97%E6%90%9C%E7%B4%A2%E8%B7%AF%E5%BE%84/




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值