[Tutor] Building application namespaces.

David Driver count0.djd at gmail.com
Fri Apr 22 20:36:49 CEST 2005


In the root script I import Common. Inside of Common's __init__.py I
import the basic domain modules. Is this correct?


>If I understand the setup correctly it should work. How are you
importing Common? If you say
>import Common
>you should be able to refer to Common.sobjs. If you say
>from Common import *
>then sobjs will be imported into the main module namespace.
>
>Kent
-- 

***********************************
See there, that wasn't so bad.
***********************************


More information about the Tutor mailing list