confusion about opening files

robie1373 robie at 1373.net
Tue Sep 24 05:19:09 CEST 2002


Thanks anyway. And you are right, I should check out the FAQ as well.

"Mark McEahern" <marklists at mceahern.com> wrote in message
news:mailman.1032835770.5997.python-list at python.org...
> [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 os.open.
> So the 'from x import *' was a red herring.  As Erik Max Francis pointed
> out, the OP should use open instead of os.open.
>
> My apologies.
>
> Cheers,
>
> // mark
>
> -
>
>





More information about the Python-list mailing list