Message131909
I completely agree that file/socket output should be left alone. Flushing char by char to either is a bit insane. The two interactive to screen use cases I can think of are text progress meters, mentioned by Anatoly, such as :
Working .... (1 dot printed at intervals)
and timed text like
import time
for c in 'Similated 10 cps teletype output':
print(c,end='')
time.sleep(.1)
print()
which works fine from IDLE and whose non-functioning when started otherwise would puzzle any beginner and many beyond. |
|
Date |
User |
Action |
Args |
2011-03-23 19:25:01 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl, amaury.forgeotdarc, vstinner, techtonik |
2011-03-23 19:25:01 | terry.reedy | set | messageid: <1300908301.25.0.596856676319.issue11633@psf.upfronthosting.co.za> |
2011-03-23 19:25:00 | terry.reedy | link | issue11633 messages |
2011-03-23 19:25:00 | terry.reedy | create | |
|