Copy file and move dir : File Utility « File « Python






Copy file and move dir

import shutil
shutil.copyfile('data.db', 'archive.db')
shutil.move('/build/executables', 'installdir')



           
       

Related examples in the same category

1.File WildcardsFile Wildcards