yep, but only if in the folder there is an __init__.py file.
http://docs.python.org/2/tutorial/modules.html#packages
On Sunday, January 6, 2013 5:57:51 PM UTC+1, howesc wrote:
>
> i use sub folders all the time - python does the import with dot notation:
>
> import users.test_users
>
> cfh
>
> On
i use sub folders all the time - python does the import with dot notation:
import users.test_users
cfh
On Sunday, January 6, 2013 8:15:29 AM UTC-8, villas wrote:
>
> 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
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
>
3 matches
Mail list logo