[Tutor] Extract from file

Manju ibhatm at gmail.com
Wed Jun 9 02:44:16 CEST 2010


Hi,

 

I need help with extracting information from file.

 

 

I have a file which is a comma delimited text file containing separate line
for each booking. Each line is composed of date, room number, course number
and course day. 

 

I need to extract only the room number which is entered at the prompt and
display course number, date and room number.

 

I have so far managed accept the entry from the prompt, to open the file and
display all the text

 

Please help.

 

Regards,

 

Manju

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100609/e6c66b31/attachment.html>


More information about the Tutor mailing list