Module Names with . (dots)?

John Machin sjmachin at
Sun Apr 5 23:27:55 CEST 2009

On Apr 6, 4:41 am, activescott <activesc... at> wrote:
> My understanding is that module names must not have a dot in them. For
> example, I tried to create a module like  and
> put misc utility classes in there. However, python gives the error "No
> module named scott.appengine.util". No I've read about packages
> (, but packages
> appear to require a specific directory structure and several package
> initialization files just to create a simple module with "pretty" dot
> syntax. Am I missing something?

Create a simple module with "pretty" underscore syntax e.g.
scott_appengine_util and move on.

More information about the Python-list mailing list