On 5/3/07, Brian Blais <[EMAIL PROTECTED]> wrote: > Carlos Hanson wrote: > > It looks like you need __init__.py in MyPackage. Then you can import > > starting with MyPackage. For example, you might use one of the > > following: > > > > import MyPackage > > from MyPackage.Common import * > > etc > > > > that means that MyPackage must be in the sys path too? It doesn't seem like a > contained-module sees the container in any way. >
That is exactly right. Without being in the sys path, Python does not know where to look to resolve the import statements. -- Carlos Hanson -- http://mail.python.org/mailman/listinfo/python-list