Python 复制文件到新的路径

 

import shutil
				

path = 'd:\11111\test.py'
						

newpath = 'd:\2222\test.py'
						

shutil.copy(path, newpath)