String find and replace
Erik Max Francis
max at alcyone.com
Tue Aug 26 20:12:27 EDT 2003
Geoff Gerrietts wrote:
> You might consider the fragment below, instead. It's a couple lines
> longer, but safer (your .close() happens exactly when you want it to)
> ...
[nitpick] Well, only if no errors occur while reading the file.
--
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
__ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/ \ The basis of optimism is sheer terror.
\__/ Oscar Wilde
More information about the Python-list
mailing list