Notes for Lecture 13 on November 12, 2020
Print a File
Basic design of program
First version: read it in as a string
Second version: read it in line by line
Third version: add line numbers
Also see
fileio-1.py
,
fileio-2.py
,
fileio-3.py
Matt Bishop
Office: 2209 Watershed Science
Phone: +1 (530) 752-8060
Email:
mabishop@ucdavis.edu