[Tutor] Help with packages and namespaces please

Andrew Wu andrewwu at gmail.com
Wed Oct 17 22:42:02 CEST 2007

Thanks again for your help.

I guess I should ask a more basic question about hierarchical directory
structures and packages.  If I have a bunch of files in a flat (single)
directory structure that I want to reorganize into a hierarchical directory
structure, do I necessarily have to turn them into package files (i.e. add
the __init__.py files, or can I simply place them into a subdirectory
structure and do something else so python can find the modules?

Or is it better practice whenever a hierarchical directory structure exists
to treat it as a package?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20071017/4d0b5fd6/attachment.htm 

More information about the Tutor mailing list