Question: Write a script named copyFile.py. This script should prompt the user for the names of two text files. The contents of the first file should
Write a script named copyFile.py. This script should prompt the user for the names of two text files. The contents of the first file should be input and written to the second file. An example of the program input is shown below: Enter the input file name: copyFrom.txt Enter the output file name: copyTo.txt Output: After running the program, a file named copyTo.txt will be outputted that contains the text from the copyFrom.txt file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
