conflict between my package and os standard module

Thomas Wouters thomas at xs4all.net
Mon Jan 17 09:20:49 EST 2000


On Mon, Jan 17, 2000 at 12:43:40PM +0000, Ben Wittner wrote:

> Actually, though, my problem is the reverse; in my_proj/os.py, I don't have
> access to the standard os services because when I say
> import os
> in my_proj/os.py, I get my_proj/os.py instead of the standard os.

This is actually also solved by renaming your os.py to my_proj_os.py ;)

-- 
Thomas Wouters <thomas at xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!




More information about the Python-list mailing list