2016年6月1日
摘要: #!/usr/bin/env python import os #文件所在路径(模块路径) print __file__,os.path.realpath(__file__),os.path.abspath(__file__) #运行程序时所在路径 print os.path.curdir,os.path.realpath(os.path.curdir),os.path.abspath(os.p... 阅读全文
posted @ 2016-06-01 10:38 perel 阅读(192) 评论(0) 推荐(0) 编辑