The following forum message was posted by victorjabur at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4407636:

Hi,
I made a progress bar that uses carriage return (\r), on shell linux console,
it works. But on pydev, the output is displayed using many lines.

This is the code:

import sys
import time
for i in range(16):
    sys.stdout.write(" [%s%s] %.2f%%\r" % ("#" * i, " " * (15 - i), i/.15))
    sys.stdout.flush()
    time.sleep(.1)

When i run this on linux shell, only line is displayed, on pydev, many lines
is printed.

Any solution ?

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to