Printing to console (No Scroll)

Samuel Walters swalters_usenet at yahoo.com
Thu Jan 15 20:23:20 EST 2004


| Dennis Lee Bieber said |
>         Don't you need a \r on the second print line also? Otherwise the
> spaces will be printed at the end of the previous counter value?

Um, yeah.  You do.

> 
> 
>         Though would \r even work if this was to be run on a Mac -- I
>         thought
> Macs used to use \r for line ending (maybe OS-X has gone to \n).

I don't know.  I've never owned a mac, and haven't ever worked on one.
Thus, mac nuances rarely enter my mind even when I know about them.

Sam Walters.

-- 
Never forget the halloween documents.
http://www.opensource.org/halloween/
""" Where will Microsoft try to drag you today?
    Do you really want to go there?"""




More information about the Python-list mailing list