[Tutor] how to get a line text from input file.

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Wed Mar 22 06:31:52 CET 2006


On Wed, 22 Mar 2006, Keo Sophon wrote:

> i am new to programming language and python. I wonder how to get a line
> text from input file.

Hi Sophon,

You may want to look at:

    http://wiki.python.org/moin/BeginnersGuide/NonProgrammers

Many of the tutorials there talk about reading from files, including Alan
Gauld's "How to Program":

    http://www.freenetpages.co.uk/hp/alan.gauld/tutfiles.htm

How are you learning how to program?  Is there a particular tutorial that
you're reading from?



More information about the Tutor mailing list