0

Plz xplain how to copy files to anothr dirctory using python script

files to another directory

23rd Mar 2017, 9:13 AM
Sudheer Kona
Sudheer Kona - avatar
1 Resposta
+ 1
import os file = "file.txt" #if windows system os.system('copy %s d:\\' % file) #if linux system os.system('cp %s /home/' % file)
24th Mar 2017, 7:27 AM
Ruslan Ovcharenko
Ruslan Ovcharenko - avatar