<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 07/28/2011 01:32 AM, Walter Prins wrote:
<blockquote
cite="mid:CANLXbfBz9G_HBLPR8aJ=8vbZDPbQpuuOsWPhhpc8YjF-vOZSDA@mail.gmail.com"
type="cite">Hi Karim<br>
<br>
<div class="gmail_quote">On 28 July 2011 00:04, Karim <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:karim.liateni@free.fr">karim.liateni@free.fr</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div class="im">On 07/27/2011 12:34 AM, Alan Gauld wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Karim wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
I use bpython interpreter. This is a very good
interactive CLI.<br>
</blockquote>
<br>
I had never heard of it and had to google for it.<br>
It appears to be a curses based CLI for *nix and MacOS<br>
</blockquote>
<br>
</div>
Ah Windows user.</blockquote>
<br>
Thanks for mentioning bpython -- I had also not heard of it but
it duly installed on my ubuntu box from the repositories! I've
browsed the code -- it uses ncurses to do the screen IO. You
can always read the code, but, as you intimated, unless you're
pretty familiar with somewhat large codebases and ncurses it
might not be that much use to you just yet. ... Still, it might
be worth having a look at the source... :)<br>
<br>
<a moz-do-not-send="true"
href="http://hg.bpython-interpreter.org/bpython/src/bcd836c859aa/bpython/">http://hg.bpython-interpreter.org/bpython/src/bcd836c859aa/bpython/</a><br>
<br>
Walter<br>
</div>
</blockquote>
<br>
Hi,<br>
<br>
I am using ubuntu too.<br>
I used to write large API but in fact I did not know curses and I
wanted to see in the code<br>
where the keywords are 'injected' to try with my own grammar. I
still have to study the details.<br>
But it seems that the keywords are imported dynamically from
__builtins__ module. Don't know yet<br>
how to configure or modify it.<br>
<br>
Thanks for your advice<br>
Regards<br>
Karim<br>
<br>
<br>
<br>
</body>
</html>