2018年1月4日

About sys.path.insert

摘要: 由于sys.path是全局搜索路列表list,list具有insert方法,原型是insert(i, x) i表示位置 x表示数据 意思是把数据x插入到位置i中 阅读全文

posted @ 2018-01-04 17:14 cdekelon 阅读(236) 评论(0) 推荐(0) 编辑

Useful links or blogs

摘要: http://blog.csdn.net/qq_27923041/article/category/6668316 阅读全文

posted @ 2018-01-04 17:03 cdekelon 阅读(98) 评论(0) 推荐(0) 编辑

About os.path

摘要: http://blog.51cto.com/xpleaf/1736956 http://blog.csdn.net/u011760056/article/details/46969883 1. Notes. os.path.dirname(__file__)返回脚本的路径,但是需要注意一下几点: 1 阅读全文

posted @ 2018-01-04 16:45 cdekelon 阅读(137) 评论(0) 推荐(0) 编辑

About all the modules

摘要: http://python.usyiyi.cn/translate/python_278/library/os.path.html http://python.usyiyi.cn/translate/python_278/library/index.html 阅读全文

posted @ 2018-01-04 15:13 cdekelon 阅读(62) 评论(0) 推荐(0) 编辑

About os.environ

摘要: >>> for a in os.environ.keys(): ... print os.environ[a] ... | /usr/bin/lesspipe %s 10.19.142.3 56522 22 nvidia nvidia /home/nvidia /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:... 阅读全文

posted @ 2018-01-04 15:02 cdekelon 阅读(134) 评论(0) 推荐(0) 编辑

导航