Outline for April 22, 2009
Reading: §4.6, 6.1–6.2
- File I/O
- Print out a named file
(see fileio1.py)
- Print out a named file and prepend line numbers
(see fileio2.py)
- Store the output in filename.lst
(see fileio3.py)
- Functions
- What functions are
- Defining them (hello.py)