creating package question

erick_bodine at erick_bodine at
Wed Nov 16 20:30:18 CET 2005

I have a package directory structure as follows

    Common (contains file)
    WindowsComponents (contains file)

I would like modules in the WindowsComponents directory to be able to
import some modules from the Common directory.  In my first pass, I was
able to append sys.path ( sys.path.append('../Common') ) in each module
that wants to import from Common, but this feels "clunky".  Is there a
"standard"/"best" way to accomplish this?  


More information about the Python-list mailing list