it already does this at init

import sys; print('Python %s on %s' % (sys.version, sys.platform))
sys.path.extend(['C:\\web2pyGit\\web2py2\\applications\\teste1',
'C:\\web2pyGit\\web2py2\\gluon'])


2015-02-26 15:08 GMT+00:00 Richard Vézina <ml.richard.vez...@gmail.com>:

> 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.

Reply via email to