[web2py] Re: import gluon.tools under private modules

2015-02-11 Thread Leonel Câmara
That's not the right folder to put your module files. You should put it in: /opt/web-apps/web2py/applications/afs/modules -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Rep

[web2py] Re: import gluon.tools under private modules

2015-02-11 Thread lucas
yes it is under the /opt/web-apps/web2py/applications/afs/private folder. what i really want to do is run this private module as a python script under bash console. because if i try to run it under the controller, it will consume all of the CPU and leave the main website locked until the proce

[web2py] Re: import gluon.tools under private modules

2015-02-11 Thread Leonel Câmara
Is your module in the application's modules folder? -- 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 t

[web2py] Re: import gluon.tools under private modules

2015-02-11 Thread lucas
well when i try to import a file.py from the private folder in a controller file, web2py throws back that it can't import the file. how come? On Tuesday, February 10, 2015 at 9:55:58 PM UTC-5, Leonel Câmara wrote: > > You can do exactly that. > -- Resources: - http://web2py.com - http://web2py

[web2py] Re: import gluon.tools under private modules

2015-02-10 Thread Leonel Câmara
You can do exactly that. -- 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 "web2p