On 6 sep, 08:47, Samuel <[EMAIL PROTECTED]> wrote:

> Given the following directory structure:
>
> ---------
> |-- Obj.py
> |-- __init__.py
> |-- foo
> |   |-- FooTest.py
> |   `-- __init__.py
> `-- start1.py
> ---------

The container looks like a package (you didn't tell us the name).
Should be placed somewhere accessible thru sys.path
start1.py does NOT belong to the package, neither start2.py; place
them somewhere else. They should import the package as any other
client code, without doing any import tricks nor playing with
sys.path.

--
Gabriel Genellina

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

Reply via email to