Wolfgang schrieb:
>> First, avoid "from function import *" as it pollutes your namespace.  Either
>> import specific symbols or just the module:
>>
>>     from function import fun, fun1
>>     import function
> 
> thanks for the hint! But what is the difference between
> from module import *
>       and
> import module
> ?
> 

I've figured it out!

when I use "from module import *" then I can call my functions directly

when I use "import module" I need module.function

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to