relative import problem

Alan Isaac aisaac at american.edu
Sat Apr 28 05:18:55 CEST 2007


I'm new to relative imports and having a problem.
(ValueError: Attempted relative import in non-package)
I noticed this:
http://www.thescripts.com/forum/thread549516.html

Is this behavior intentional?
I'm seeing it in Python 2.5.1.

Thanks,
Alan Isaac





More information about the Python-list mailing list