python-os模块
摘要:# -*- coding: utf-8 -*-import osprint os.name #windows为nt,linux为posixpath = os.getcwd() #获得当前脚本所在目录print pathtotal_name = os.path.join(path, '123.txt'...
阅读全文
posted @ 2014-04-29 09:59
posted @ 2014-04-29 09:59