[Tutor] Help with file I/O.

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Sun Jul 31 08:22:46 CEST 2005



On Sun, 31 Jul 2005, Nathan Pinno wrote:

> Well, you saw my password program. That was my first attempt at using
> file I/O. Thought I'd try it big time. You saw where that went.

Ok, let's take a look.  It was from this message, right?

    http://mail.python.org/pipermail/tutor/2005-July/039478.html

That was such a while back that I think you probably learned a lot since
then, and I think a few of the issues there were less about I/O and more
about just general programming.

Let's try a few things, just to see why you're getting stuck.  Can you
write a program that reads in a file, and just prints all of its lines out
to screen?



More information about the Tutor mailing list