Program to copy a file in Python

 from shutil import copyfile

copyfile("d:/example1.txt","d:/example2.txt")

#Copies the file data in example1 to example2

Comments

Popular posts from this blog

Data Science Matplotlib Library Data Visualization, ASSIGNMENT - 6, GO_STP_8113