Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #10406

Re: Fall in love with bpython

From Alan Gauld <alan.gauld@btinternet.com>
Subject Re: Fall in love with bpython
Date 2011-07-26 23:34 +0100
References <4E3086DE.4020903@free.fr>
Newsgroups comp.lang.python
Message-ID <mailman.1547.1311806113.1164.python-list@python.org> (permalink)

Show all headers | View raw


Karim wrote:

> I use bpython interpreter. This is a very good interactive CLI.

I had never heard of it and had to google for it.
It appears to be a curses based CLI for *nix and MacOS


> I want to create a CLI with the same features than bpython.
> But the cmd std module seems no to be used in this project...

Why not read the bpython source to see what they used?
Thats the big advantage of open source - its open!
(Although they don't make the source explicitly available,
I'm assuming the tar file contains the source- it might
even be in Python!)

They use pygments to parse the source as you type.
That would be worth investigating too...


HTH,

Alan G.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Fall in love with bpython Alan Gauld <alan.gauld@btinternet.com> - 2011-07-26 23:34 +0100

csiph-web