摘要:
import os print os.path.abspath(__file__) #返回脚本名称(包含全路径),如C:\Django\workplace\sf\sinfors\tests5.py print os.path.dirname(os.path.abspath(__file__)) #返回脚本所在目录,如C:\Django\workplace\sf\sinfors print o... 阅读全文
posted @ 2016-03-15 15:53
momingliu11
阅读(232)
评论(0)
推荐(0)
浙公网安备 33010602011771号