[Tutor] Naive Questions
Michael Powe
michael@trollope.org
Sun Dec 1 19:18:02 2002
hello,
a couple questions to which i haven't been able to find answers.
i don't seem to find a python equivalent to the "rewind" file operation
in C -- that is, i read through a file and i want to go back to the
beginning and read again. is the only option to close & reopen?
and just from curiosity, why are there no increment/decrement operators,
and nothing equivalent to += & its friends? i'd have thought this
would be a faq, but don't find anything about it there.
the first item actually relates to something i'm working on. the second,
just that i'm lazy & find having to always type out i = i+1 annoying. ;-)
thanks.
mp