Week 8: Text Processing (Reading and Writing Files)
Week 8: Text Processing (Reading and Writing Files)
Week 8: Text Processing (Reading and Writing Files)
Text processing
(Reading and writing files)
Week 8
Today’s Tasks
Tasks for Today!
▪ Tasks
▪ Merge a set of files into a new file
▪ Handle coordinate information from a file
▪ Handle temperature information from a file
Task 1 | Merge files
▪ Merge a set of input files into a single output file
○ All contents in the input files are put into the output file
3. Let the user enter a country code, and then print the full name
of the corresponding country.