Re: [Tutor] Printing the Carriage return character

2006-02-20 Thread Hans Dushanthakumar
ar; tutor@python.org Subject: Re: [Tutor] Printing the Carriage return character >Not sure if this is a python thing or a Operating system > peculiarity, An IDLE thing specifically - or maybe even a Tkinter thing... > Why does the line > print "FirstLine" + "\rSecondLin

Re: [Tutor] Printing the Carriage return character

2006-02-20 Thread Alan Gauld
>Not sure if this is a python thing or a Operating system peculiarity, An IDLE thing specifically - or maybe even a Tkinter thing... > Why does the line > print "FirstLine" + "\rSecondLine" > produce different output when run via IDLE and when run in the python > prompt (both under Windows X

[Tutor] Printing the Carriage return character

2006-02-19 Thread Hans Dushanthakumar
Hi, Not sure if this is a python thing or a Operating system peculiarity, but here goes: Why does the line print "FirstLine" + "\rSecondLine" produce different output when run via IDLE and when run in the python prompt (both under Windows XP)? Output in IDLE (ver 1.1.1, python 2.4.1): >>> print