> the table of built-in modules are checked before searching the path.
I figured as much. But why is the behavior different on linux/win? Is
this documented somewhere?
/Joel
--
http://mail.python.org/mailman/listinfo/python-list
Joel Hedlund wrote:
> It turns out that on Windows, the builtin parser module is imported
> instead. Why?
the table of built-in modules are checked before searching the path.
> Why is there a difference? What other names are "taken"?
depends on how the interpreter is built; there's a sys varia
Hi!
I have a possibly dumb question about imports. I've written two python
modules:
parser.py
class Parser(object):
"my parser"
app.py
from parser import Parser
print "import succ