hello,
I can't find any good documentation or examples of packages,
so I'm not sure if this is good / correct way, although it seems to work.
root
/ dir1
/ file1.py
/ general.py
/ dir2
/ file2.py
/ general_root.py
Now I want to be able to use functions of file2 in file1,
and
On Nov 5, 2:14 pm, Stef Mientki [EMAIL PROTECTED] wrote:
Now I want to be able to use functions of file2 in file1,
and vice-versa.
It sounds like __all__ in __init__.py would work:
http://www.python.org/doc/2.5.2/tut/node8.html#SECTION00840
If not, then pkgutil might of use?
Stef Mientki wrote:
hello,
I can't find any good documentation or examples of packages,
so I'm not sure if this is good / correct way, although it seems to work.
root
/ dir1
/ file1.py
/ general.py
/ dir2
/ file2.py
/ general_root.py
Now I want to be able to use functions of