04 2014 档案

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 赛欧拉 阅读(345) 评论(0) 推荐(0)