seek() tell()
Erik Max Francis
max at alcyone.com
Wed Feb 5 22:10:37 EST 2003
Peter Hansen wrote:
> You can do tell only, though, can't you?
Yes, but even then only on some files:
>>> import sys
>>> sys.stdin.tell()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
IOError: [Errno 29] Illegal seek
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ Does the true light / Of love come in flashes
\__/ Sandra St. Victor
Rules for Buh / http://www.alcyone.com/max/projects/cards/buh.html
The official rules to the betting card game, Buh.
More information about the Python-list
mailing list