[Tutor] Newbie question

Ramkumar Kashyap rkashyap@sympatico.ca
Sun, 03 Feb 2002 16:40:04 -0500


Hi!

I am trying to open a txt file and count the number of lines. I am 
trying to figure out if I need to use fileinput and lines() or will the 
readlines() also give me the count.

I am going through the documentation and there is no e.g. for usage of 
calling different builtin functions, so it seems a little cryptic at times.

regards,
Kumar