raw_input

Fredrik Lundh fredrik at pythonware.com
Thu Jul 18 14:05:47 EDT 2002


Eric Texier wrote:

> Yes this is not what I am looking for. I was just hoping that it was
> a little module somewhere that will let me edit a line of command
> in the console, you know a bit like tcsh.

sounds like you want raw_input:

http://www.python.org/doc/current/lib/built-in-funcs.html

    raw_input([prompt])
    ...
  If the readline module was loaded, then raw_input() will use
  it to provide elaborate line editing and history features.
(but if this doesn't work for you by default, chances are that
your Python install doesn't support readline)

</F>





More information about the Python-list mailing list