check here https://stackoverflow.com/questions/4657484/how-can-i-use-modules-in-web2py
Em sáb., 20 de jun. de 2020 às 21:14, patito feo <xgp.lat...@gmail.com> escreveu: > Hi, > > Please define "all ok" > > __init__.py file in /modules > .py file in /modules > > > Thnx for your help! > > > > > El sábado, 13 de junio de 2020, 18:45:39 (UTC-5), Ramos escribió: >> >> if all is ok, restart web2py >> >> Em dom., 14 de jun. de 2020 às 00:35, patito feo <xgp....@gmail.com> >> escreveu: >> >>> Hi, >>> >>> Im trying to use a module file inside /modules/ folder but keep getting >>> this error. >>> >>> >>> failed to reload module because: >>> >>> ImportError('No module named mdplenus.modules.test',) >>> >>> -- >>> Resources: >>> - http://web2py.com >>> - http://web2py.com/book (Documentation) >>> - http://github.com/web2py/web2py (Source code) >>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "web2py-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to web...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/web2py/ba92fb90-96da-48a1-8130-b12a0256bb84o%40googlegroups.com >>> <https://groups.google.com/d/msgid/web2py/ba92fb90-96da-48a1-8130-b12a0256bb84o%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/64e635de-af0b-4184-8ae5-d887eb52e346o%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/64e635de-af0b-4184-8ae5-d887eb52e346o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAEM0BxM%2By-iD34AE6Lbo3t3qLok_Sj28qjVQKysDA3Uxi46dDg%40mail.gmail.com.