At 12:18 PM 10/27/2005, Mike Haft wrote: >Apologies for not making things clearer last time. > >My specific problems are: > >why can I not get the readline() or readlines() functions to work, I'm >told they are not defined whenever I try.
Mike * Oh * Mike ... and all others ... Please Post The Code and the Traceback. Otherwise We Cannot Help You. As Much As We Want to be We are Not MindReaders. >Also the following: > >if line[:1] == "1": > >collects data from month 1, 10, 11, and 12. How do I make the readfile >function I defined count through 1 to 12 and retreive the fields I need? This does not compute for me. I have no idea what you want! >Can I just use a for loop type of construction and substitute an x >variable where there is curently a [:1] and a "x" i.e.: > >if line[:y] == x: > >If not why not? What must I do. [snip] _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor