Page 110 -
P. 110
getting data in
Data is external to your program
Most of your programs conform to the input-process-output model: data comes
in, gets manipulated, and then is stored, displayed, printed, or transferred.
I’m ready for your
DBMS data...just give it to
Data comes from me, baby!
lots of places.
So far, you’ve learned how to process data as well as display it on screen.
But what’s involved in getting data into your programs? Specifically, what’s
involved in reading data from a file?
How does Python read data from a file?
74 Chapter 3