Answers for "copy paste python and rename"

1

python copy file to new filename

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

from shutil import copyfile
copyfile(src, dst)
Posted by: Guest on April-16-2020

Python Answers by Framework

Browse Popular Code Answers by Language