On 2010-12-12, Tim Harig <user...@ilthio.net> wrote:
>> I used .seek() in this manner, but is not working.
>
> It is working the way it is supposed to.
> If you want the absolute position in a column:
>
>       f = open('somefile.txt', 'r').read().splitlines()
>       for column in f:
>               variable = column[3]

or:
        f = open('somefile.txt', 'r')
        for column in f.readlines():
                variable = column[3]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to