Answers for "how to make a copy a file in python"

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 "how to make a copy a file in python"

Python Answers by Framework

Browse Popular Code Answers by Language