if you have: /applications/examples/modules/prueba.py
$python web2py.py -S examples >>import prueba this does not work But if you used: >>from applications.examples.modules import prueba this work very well. way?? I have all whit the __init__py for import modules. El miércoles, 16 de mayo de 2012 10:32:00 UTC-5, Anthony escribió: > > Are you importing from within the "examples" application? In that case you > can just do: > > import test > > Anthony > > On Wednesday, May 16, 2012 11:13:16 AM UTC-4, Aurigadl wrote: >> >> I always work with modules. In the latest versions of web2py not work. >> doing the following to import: >> >> from applications.examples.modules import test >> >> Restricting the application name.The modules are placed in the / app / >> modules >> >