In this exercise we will copy the contents of one file to another. In a past exercise, we learned how to read the contents of a file, and in another past exercise we learned how to write to a file. In this exercise, we will read the contents of one file and write it to another file.
The new things I learned in this exercise are:
1. We can use the exists() function to find out if a file exists
2. We can use the len() function to determine the size of data in a file=
No comments:
Post a Comment