Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python copy file to new filename


shutil has many methods you can use. One of which is:

from shutil import copyfile
copyfile(src, dst)
 
PREVIOUS NEXT
Tagged: #python #copy #file #filename
ADD COMMENT
Topic
Name
2+3 =