module and namespace
Egon Frerich
egon at frerich.eu
Wed Apr 16 13:10:41 EDT 2014
If I use the interpreter I get:
Python 3.3.5 (default, Apr 12 2014, 23:34:20)
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mptt
>>> print(mptt)
<module 'mptt' from './mptt/__init__.py'>
>>>
But if I import mptt in my program the print-statement gives
<module 'mptt' (namespace)>
What is the meaning? When does this happened?
Egon
More information about the Python-list
mailing list