[Tutor] Field/Variable References
Kent Johnson
kent37 at tds.net
Fri Dec 18 20:19:19 CET 2009
On Fri, Dec 18, 2009 at 8:57 AM, John Filben <johnfilben at yahoo.com> 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
More information about the Tutor
mailing list