confusion about opening files

Mark McEahern marklists at
Tue Sep 24 04:47:53 CEST 2002

[I wrote]
> This is a FAQ.  You should probably find the Python FAQ and read
> it.  Short story:  Don't use 'from x import *' unless you know
> what you're doing.

I should have read the post I was replying to more carefully.  I saw the
"integer required" error and didn't notice that the OP was using
So the 'from x import *' was a red herring.  As Erik Max Francis pointed
out, the OP should use open instead of

My apologies.


// mark


More information about the Python-list mailing list