On Wed, Apr 10, 2013 at 1:52 AM, rusi <rustompmody at gmail.com> wrote: > You probably need readline > See http://docs.python.org/2/library/cmd.html#cmd.Cmd.cmdloop > [Also try Control-P COntrol-N for up and down arrow] Be aware that GNU readline is GPL, not LGPL. This may have consequences if you distribute your code. ChrisA