I know this is a bad habit ... I was just doing it to show what is
disturbing me.

Obviously the "star" syntax finds the submodules because they are
loaded, but when I properly load the module alone with "import tom",
the "dot" syntax does not find "tom.core".

BartlebyScrivener wrote:
> >> > from tom import *
>
> You CAN do this, but it's a bad habit.
> 
> Try:
> 
> >>import tom
> 
> Then call by tom.function()
> 
> rd

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

Reply via email to