Answers for "how to do file copy using python"

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

Code answers related to "how to do file copy using python"

Python Answers by Framework

Browse Popular Code Answers by Language