Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

copy a file from one directroy to other using python

# to copy a file from one place to other
import shutil

shutil.copy2('source/my_file.jpg', 'copy_here/my_file_copy.jpg')
 
PREVIOUS NEXT
Tagged: #copy #file #directroy #python
ADD COMMENT
Topic
Name
5+3 =