1、如何用Python删除一个文件
os.remove(filename)或者os.unlink(filename)。
2、Python如何copy一个文件
shutil模块里有一个copyfile函数可以实现文件的拷贝。