Christopher J. Bottaro wrote:
Hello,
I want to be able to say stuff like "import CJB.ClassA" and "import
CJB.ClassB" then say "c = CJB.ClassA()" or "c = CJB.ClassB()". CJB will be
a directory containing files "ClassA.py" and "ClassB.py".
Now that I think about it, that can't work b
"Christopher J. Bottaro" <[EMAIL PROTECTED]> wrote in message
Hello Christopher,
You probably know this but I will mention it here for
completeness, if you want to be able to make a dir a package you also
need to add an __init__.py in the folder you wish to import from. The
__init__.py makes t
Christopher J. Bottaro wrote:
Hello,
I want to be able to say stuff like "import CJB.ClassA" and "import
CJB.ClassB" then say "c = CJB.ClassA()" or "c = CJB.ClassB()". CJB will be
a directory containing files "ClassA.py" and "ClassB.py".
Now that I think about it, that can't work b