[Tutor] while with function

lumbricus@gmx.net lumbricus@gmx.net
Mon Nov 18 23:59:02 2002


Hi!

> lumbricus@gmx.net said:
> 
> > You want to use the GNU readline library.
> > There is a python module, too.
> 
> I can do this on a linux command line already.  Am I missing something?

If your shell is compiled with readline support - yes.
I understood your post correctly, you wanted this feature 
in your python script. So you would 'import readline' and
use readline.readline() instead of raw_input().
 
> Regards,

HTH, J"o!

> >From GNU Readline Manual:

[ snip ]


-- 
Wir beschliessen etwas, stellen das dann in
den Raum und warten dann einige Zeit ab, was
passiert. Wenn es dann kein grosses Geschrei
gibt und keine Aufstaende, weil die meisten
gar nicht begreifen, was da beschlossen
wurde, dann machen wir weiter - Schritt fuer
Schritt, bis es kein Zurueck mehr gibt. 
   -- J-C Juncker

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!