[Tutor] A file containing a string of 1 billion random digits.
Richard D. Moores
rdmoores at gmail.com
Sun Jul 18 03:01:42 CEST 2010
On Sat, Jul 17, 2010 at 17:39, Hugo Arts <hugo.yoshi at gmail.com> wrote:
> On Sun, Jul 18, 2010 at 2:24 AM, Richard D. Moores <rdmoores at gmail.com> wrote:
>> Alan,
>>
>> I should have added that file.seek and file.read don't show in the 3.x
>> docs either.
>>
>
> You just need to know where to look:
>
> http://docs.python.org/py3k/library/io.html#io.IOBase.tell
>
> read and seek are in there as well. There is no more file class in
> 3.x, the io module takes care of all that. The documentation for the
> open() function mentions all of this.
Ah. Thanks again, Hugo. Looks like tough going for me for a couple of
days. Months?
Dick
More information about the Tutor
mailing list