On Fri, Dec 18, 2009 at 8:57 AM, John Filben <[email protected]> wrote:
> Can someone please let me know how to read a file one record at a time (just
> say fixed block for now - see small example below) and assign columns to
> fields.  Then reference the field names with if-then-else logic.
>
> Sample Fixed Block File:
>
> John98762
> John82634
> John11234

Here is a nice example:
http://www.linuxtopia.org/online_books/programming_books/python_programming/python_ch34s05.html

Kent
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to