摘要:
转自http://www.2cto.com/kf/201105/92200.html如何判断操作系统类型import sysprint sys.platformprint sys.version显示和修改python的Module搜索路径>>> import sys>>> print sys.path[, /usr/lib/python23.zip, /usr/lib/python2.3, /usr/lib/python2.3/plat-linux2,/usr/lib/python2.3/lib-tk, /usr/lib/python2.3/lib-dynl 阅读全文