[Tutor] understanding __import__()
python-tutor at v.igoro.us
python-tutor at v.igoro.us
Wed Jul 26 08:06:25 CEST 2006
Sean Perry wrote:
> Ok, this may be slightly above tutor's level, but hey, never hurts to
> ask (-:
__import__ is dark magic; generally those who venture into that realm
would do well to read the C source for Python..
I'm guessing that '.' is not in your sys.path, so Python isn't finding
the relative path, while the absolute path works fine.
Dustin
More information about the Tutor
mailing list