Python File I/O: Copy the contents of a file to another file
Python File I/O: Exercise-13 with Solution
Write a Python program to copy the contents of a file to another file .
from shutil import copyfile copyfile('test.py', 'abc.py')
Python Code Editor:
Improve this sample solution and post your code through Disqus