Am 19.04.2014 14:33, schrieb bob gailer:
> On 4/16/2014 6:38 AM, Egon Frerich wrote:
>> 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)
Am 18.04.2014 13:48, schrieb Peter Otten:
> Egon Frerich wrote:
>
>
> Basically Python 3 allows for packages to omit the __init__.py
>
> $ mkdir aaa
> $ python3 -c'import aaa; print(aaa)'
>
> $ touch aaa/__init__.py
> $ python3 -c'import aaa; print(aaa)'
>
>
> Namespace packages have advanta
On 4/16/2014 6:38 AM, Egon Frerich wrote:
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)
But if I import mptt in my program the print-statement gi
Am 18.04.2014 21:18, schrieb Dave Angel:
> Egon Frerich Wrote in message:
>> I have a problem with a namespace.
>>
>
> So you started 4 separate threads to complain about it? Keep any
> further remarks on the thread where you got a useful response.
>
>
>
Excuse me for that. The mail serve
Egon Frerich wrote:
[Egon, please post in plain test, not html. Thank you]
> I have a problem with a namespace. There is a module mptt (actally from
> Django). If I import this module with the interpreter it tells me the
> namespace:
>
> Python 3.3.5 (default, Apr 12 2014, 23:34:20)
> [GCC 4.6.3