packages and __init__.py abuse
epovazan at NO-SPAM-ME-telus.net
Tue Dec 4 07:57:51 CET 2001
Being quite new to python, I want to make sure that what I am thinking of
doing is considered ok in the python world.
Say I have a module mymodule.py and I decide that I could regroup some
things to create a "submodule":
The only way I see I can do this is by having folders:
and by placing the contents of the original mymodule.py into
This works, but is this considered bad? Is there an alternative? From my
testing (using Jython btw), I haven't found one.
More information about the Python-list