Answers for "python how to copy a file"

0

How to Copy a File in Python?

# Copy a file in Python using  copy() method
import shutil
shutil.copy( '/src/test/source.txt' , '/dest/destination.txt' )
Posted by: Guest on September-25-2021
0

How to Copy a File in Python?

# Copy a file in Python using  copyfile() method
import shutil
shutil.copyfile( 'source.txt' , 'destination.txt' )
Posted by: Guest on September-25-2021
0

copyfile pyhon

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

Python Answers by Framework

Browse Popular Code Answers by Language