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


Groups > comp.lang.python > #10406

Re: Fall in love with bpython

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; '(although': 0.05; 'cc:addr:tutor': 0.09; 'interpreter.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'wrote:': 0.15; '*nix': 0.16; 'curses': 0.16; 'macos': 0.16; 'sfxlen:2': 0.19; 'seems': 0.20; 'appears': 0.21; 'cc:2**0': 0.21; 'cc:no real name:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'alan': 0.23; 'parse': 0.23; 'thats': 0.23; "i'm": 0.27; 'explicitly': 0.29; 'cc:addr:python.org': 0.30; 'module': 0.30; 'cmd': 0.30; 'tar': 0.30; 'source': 0.32; 'it.': 0.33; 'to:addr:python-list': 0.34; 'header:X-Complaints-To:1': 0.34; 'header:User-Agent:1': 0.34; 'google': 0.34; 'file': 0.36; 'assuming': 0.37; 'open': 0.37; 'but': 0.37; 'received:org': 0.38; 'subject:: ': 0.38; 'header :Mime-Version:1': 0.39; 'subject:with': 0.39; 'to:addr:python.org': 0.39; 'might': 0.39; 'from:addr:btinternet.com': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Alan Gauld <alan.gauld@btinternet.com>
Subject Re: Fall in love with bpython
Date Tue, 26 Jul 2011 23:34:56 +0100
References <4E3086DE.4020903@free.fr>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host86-172-9-155.range86-172.btcentralplus.com
User-Agent Thunderbird 2.0.0.9 (X11/20071031)
In-Reply-To <4E3086DE.4020903@free.fr>
Cc tutor@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1547.1311806113.1164.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1311806113 news.xs4all.nl 23959 [2001:888:2000:d::a6]:37607
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:10406

Show key headers only | 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