Never had to do this but I wonder... Do you really have so many module files for one app that you need to organize them using sub-directories?
On Friday, January 4, 2013 12:19:52 PM UTC, Yasir Saleem wrote: > > Hi all, > > In my modules directory, I created a new directory named "users" and > create a python file "test_users.py" within "users" directory. The > structure is like this: > > *my_application/modules/users/test_users.py* > > I know that files within modules directory can be imported simply by "*import > filename.py" *statement but how to import this one. > I have tried "import models/users.py" but it gives me following error: > > Encountered "/" at line 22, column 14. Was expecting one of: <NEWLINE> > ... ";" ... "," ... "." ... "as" ... ";" > > > > --

