Module Names with . (dots)?

2009-04-05 Thread activescott
My understanding is that module names must not have a dot in them. For example, I tried to create a module like scott.appengine.util.py and put misc utility classes in there. However, python gives the error No module named scott.appengine.util. No I've read about packages

Re: Module Names with . (dots)?

2009-04-05 Thread John Machin
On Apr 6, 4:41 am, activescott activesc...@gmail.com wrote: My understanding is that module names must not have a dot in them. For example, I tried to create a module like scott.appengine.util.py  and put misc utility classes in there. However, python gives the error No module named

Re: Module Names with . (dots)?

2009-04-05 Thread Chris Rebert
On Sun, Apr 5, 2009 at 11:41 AM, activescott activesc...@gmail.com wrote: My understanding is that module names must not have a dot in them. For example, I tried to create a module like scott.appengine.util.py  and put misc utility classes in there. However, python gives the error No module

Re: Module Names with . (dots)?

2009-04-05 Thread activescott
On Apr 5, 5:42 pm, Chris Rebert c...@rebertia.com wrote: On Sun, Apr 5, 2009 at 11:41 AM, activescott activesc...@gmail.com wrote: My understanding is that module names must not have a dot in them. For example, I tried to create a module like scott.appengine.util.py  and put misc utility

Re: Module Names with . (dots)?

2009-04-05 Thread activescott
On Apr 5, 5:42 pm, Chris Rebert c...@rebertia.com wrote: On Sun, Apr 5, 2009 at 11:41 AM, activescott activesc...@gmail.com wrote: My understanding is that module names must not have a dot in them. For example, I tried to create a module like scott.appengine.util.py  and put misc utility

Re: Module Names with . (dots)?

2009-04-05 Thread bearophileHUGS
activescott: BTW: I decided to go with 'scottsappengineutil'. scottsappengineutil is hard to read and understand. The name split with underscores is more readable: scott_appengine_util Or just: app_engine_util Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list