文件的基本操作

打开文件

>>> for istream in open("tst.txt"):
print istream

删除文件

>>> os.remove(tst.txt)

posted on 2016-10-14 10:51  qmzp  阅读(150)  评论(0编辑  收藏  举报

导航