On Jan 24, 11:27 am, Rémi <babedo...@yahoo.fr> wrote: > Hello everyone, > > I would like to do a Python application that prints data to stdout, but > not the common way. I do not want the lines to be printed after each > other, but the old lines to be replaced with the new ones, like wget > does it for example (when downloading a file you can see the percentage > increasing on a same line). > > I looked into the curses module, but this seems adapted only to do a > whole application, and the terminal history is not visible anymore when > the application starts. > > Any ideas? > > Thanks, > > Remi
You might want to take a look at the readline module. ~Sean -- http://mail.python.org/mailman/listinfo/python-list