[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: write to same line on standard out?
- From: Patrick <spell_gooder_now@...>
- Date: Wed, 14 Jul 2010 13:13:09 -0400
Hi Everyone
Is there a way to write to standard out without generating a new line.
For example:
print("this is one line"); print("this is after it")
gives:
this is one line
this is after it
This generates two lines and if we continued on it would generate more.
I would like to display a reading at the command line, for example a
temperature such as 35C. When the value changes I would like the new
value to appear where the old one was rather then this:
34C
36C
32C
Is there a way to do this?
Thanks for reading-Patrick