阅读背景:

如何使用python(版本2.5)删除特定数量的文件?

来源:互联网 

I would like to remove two files from a folder at the conclusion of my script. Do I need to create a function responsible for removing these two specific files? I would like to know in some detail how to use os.remove (if that is what I should use) properly. These two files will always be discarded at the conclusion of my script (which packages a series of files together in a zip format). Thanks in advance. I would like to remove two files from a folder




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: