File and Directory Manipulation  
 
 

Week 6

Readings:

  • Read Chapter 11 - Modules
  • Read Chapter 12 - File Manipulation
  • Read Chapter 13 - Directory Operations

Key Concepts:

  • Modules
  • File tests
  • File manipulation
  • Directory operations

Exercises:

    From the book:
  • Chapter 12: #1-2
  • Chapter 13: #1-4
Write a program to read in all the files of a given directory and print out everything between matching double-quote marks with the filename and line number preceding each.


Files to Be Downloaded