I would try to use run_models_in so far it seems that this is the function/method that will generate python import models in compiledapp.py
On Thu, Feb 26, 2015 at 10:50 AM, António Ramos <ramstei...@gmail.com> wrote: > dont i have to force it to do > > python web2py.py - S myapp > > at startup ? > > 2015-02-26 15:39 GMT+00:00 Richard Vézina <ml.richard.vez...@gmail.com>: > >> Things are in gluon/shell.py... >> >> Richard >> >> On Thu, Feb 26, 2015 at 10:08 AM, Richard Vézina < >> ml.richard.vez...@gmail.com> wrote: >> >>> Don't use it :D >>> >>> No, I am kidding... >>> >>> Here settings for python console : >>> https://www.jetbrains.com/pycharm/help/console-python-console.html >>> >>> I don't how someone can lunch pycharm embed python console with command >>> line web2py option... >>> >>> Another option could be to import web2py stuff once the console is up >>> and running, though I really don't know if this is possible and how. But >>> reading web2py code about command line triggering behaviour and >>> initilization of python interpreter may help to figure out, I guess... >>> >>> Or we can ask Massimo?? >>> >>> :) >>> >>> Richard >>> >>> On Thu, Feb 26, 2015 at 7:41 AM, António Ramos <ramstei...@gmail.com> >>> wrote: >>> >>>> To the ones that use pycharm with web2py. >>>> >>>> How can i interact with my models from the python console ? >>>> >>>> it does not recognize my models. >>>> >>>> >>>> Regards >>>> António >>>> >>>> -- >>>> 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. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >> -- >> 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. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.