Re: Import python modules from sub-directories

夏震 zhxia at njnet.edu.cn
Fri Aug 6 03:43:11 EDT 2010



> Hi guys,
>
> I am new to python and would like to import certain classes in sub-directories of the
> working directory. I was wondering how will I be able to achieve this?
>
> Regards,
> Nav
> --
> http://mail.python.org/mailman/listinfo/python-list

>

Please try "touch __init__.py" in sub-directories.





More information about the Python-list mailing list