Hi All,

BPython http://bpython-interpreter.org/ , is a lightweight  python console
with auto completion etc.,
It's a wrapper around standard python console.
for debian based systems do,

$> sudo apt-get install bpython

to install bpython, if not already have.

So as a response to the following thread,
https://groups.google.com/d/topic/web2py/prJjPAW5OEw/discussion

Here's a patch(attached) to enable the use of bpython instead of ipython.

use as
$> web2py.py --shell appname -B
$> web2py.py -S appname --bpython

patch is just an hg export, so a simple hg import will do.
I use latest code from repo, so there must not be any need for merging
something manually.

@Massimo: have a look at it, test it and if it's worth possibly add this to
web2py.

Thanks,
Arun.K.R
_________________________________________________
{ Man can be Destroyed but cannot be Defeated.}
{ As you live your days, so you craft your life. }
{ In this world of no walls or fences, we don't need windows or gates! }
Registered Gnu\Linux User: #470196
Registered Ubuntu User: #25827
_________________________________________________

Attachment: bpython_patch
Description: Binary data

Reply via email to