Answers for "Python code to make a copy of the file"

1

How to Copy a File in Python?

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

Code answers related to "Python code to make a copy of the file"

Python Answers by Framework

Browse Popular Code Answers by Language