talking about this?

http://wiki.blender.org/index.php/Dev_talk:Source/BPython/API/bpy_api

It should be easy..
open the shell and type:

from gluon.globals import Request, Response, Session
from gluon.compileapp import build_environment(
request=Request()
response=Response()
session=Session()
request.application = '....'
globals().update(build_environment(request,response,session))



On Apr 8, 10:37 am, Bruno Rocha <[email protected]> wrote:
> No idea?
> Em 07/04/2011 11:13, "Bruno Rocha" <[email protected]> escreveu:
>
>
>
>
>
>
>
> > hi,
>
> > does anybody knows how to run the web2py shell using BPython instead of
> > IPython?
>
> > I saw a line in gluon/shell.py but I did not find argument to pass in
> > console.
>
> > Would be great a way to run:
>
> > $python web2py.py - S appname -M -bpython
>
> > Is it possible or even changing in code?
>
> > Thanks
> > --
> > Bruno Rocha
> > [ About me:http://zerp.ly/rochacbruno]

Reply via email to