Am 23.08.2011 16:21, schrieb Yingjie Lin:
Hi Python users,
[snip]
use f.seek(0) between calls. The python documentation will educate you about the details.There are quite a few methods for file-like objects that can only be used once on one object. If I prefer to use some of these methods on one object, one after another, like: f.readlines() f.read() ... What should I do? Thank you.
hth Paul -- http://mail.python.org/mailman/listinfo/python-list