Hi John,
> 1. Your directory/package hierarchy is far too complicated. Flatten it.
Ok.
> 2. You have circular references: the others module will import from
> utils, but utils wants to import from others. This is prima facie
> evidence that your modules are not structured properly
Yes, that's wh
Tool69 wrote:
> Hi,
> I've got the following hierarchy:
>
> mainprog/
> __init__.py
> prog.py
> utils/
> __init__.py
> myutils.py
> others/
> __init__.py
> myothers.py
>
> Inside prog.py I need to have full access to myutils.py and
> myothers.py;
> I
Hi,
I've got the following hierarchy:
mainprog/
__init__.py
prog.py
utils/
__init__.py
myutils.py
others/
__init__.py
myothers.py
Inside prog.py I need to have full access to myutils.py and
myothers.py;
Inside myutils.py, I need to access two classe