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 pythonwhereis python</span></div>系统自带的是安装到/usr/bin下的
后来安装的一般在/usr/local/binimport 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/
<div class="zemanta-pixie">http://img.zemanta.com/pixy.gif?x-id=d1ee13da-89e9-88b7-a29a-9a4d816601b5
页:
[1]