bpython - fancy Python shell

B

Bob Farrell

I released this a while ago but did some work recently to fix some bugs
so I thought I may as well post it here. To quickly summarise:
In-line syntax highlighting
Auto complete with suggestions as you type
Pastebin stuff, save to file
"Rewind" feature to jump back a line if you mess up (don't ask how it
works, please ;)

You can get it here:
http://www.noiseforfree.com/bpython/

There's info about git repos and what have you there, and apparently
it's also in some real distro repos, but I don't know the details.

Oh, and you'll need pygments and pyparsing, and it doesn't work on
Windows (heard good reports about it working fine on a Mac though).
 
A

Andrii V. Mishkovskyi

2008/6/15 said:
I released this a while ago but did some work recently to fix some bugs
so I thought I may as well post it here. To quickly summarise:
In-line syntax highlighting
Auto complete with suggestions as you type
Pastebin stuff, save to file
"Rewind" feature to jump back a line if you mess up (don't ask how it
works, please ;)

You can get it here:
http://www.noiseforfree.com/bpython/

There's info about git repos and what have you there, and apparently
it's also in some real distro repos, but I don't know the details.

Oh, and you'll need pygments and pyparsing, and it doesn't work on
Windows (heard good reports about it working fine on a Mac though).

Great work, bobf. :)
I've been using bpython from time to time for a month now, so I can
only appreciate the fact that bpython is developing. I think that with
that speed of development bpython will substitute ipython as my
everyday python console in the near future (3-4 months).

P.S. I think you should of cc'd this announcement to python-announce-list. ;)
 
W

Wolfgang Grafen

I couldn't get it work on Solaris (modified some lines for Python2.3).
One reason was that I had to download pyreadline separately
- I did than but now pyreadline requires either ironpython or
a windows installation. Something is going wrong...

Best regards

Wolfgang
 
S

Sebastian \lunar\ Wiesner

Wolfgang Grafen said:
I couldn't get it work on Solaris (modified some lines for Python2.3).
If solaris doesn't have a readline library, you might try to compile gnu
readline, and recompile python (also a chance to get the current version
2.5)
One reason was that I had to download pyreadline separately
- I did than but now pyreadline requires either ironpython or
a windows installation.

pyreadline is a windows-only thing. Since readline is a standard module on
most unix systems and linux, there was no need to implement pyreadline for
these systems. It would have been difficult anyway, since the windows
console is completely different to unix consoles (which are fairly
compatible to each other, a outcome of POSIX efforts).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top