I'm not sure if there is a definite solution to this problem.

I've noticed that one of the applications, which I use on a daily basis
(apt from Debian) does address the progress bar issue in another way.

When apt tries to download multiple files, it displays the progress of
all the downloads on a single line. Probably the apt developers also
might have run into the same issue and hence settled down with this
workaround.


Thanks,
Ritesh


Dennis Lee Bieber wrote:
> On Tue, 28 Nov 2006 15:15:28 +0530, Ritesh Raj Sarraf
> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
>
> > If there's a way to print multiple lines of text withouth the newline ("\n")
> > character, we can then use carriage return ("\r") and implement a proper
> > progressbar with a bar for each separate progress action.
> >
>       If you were running on an Amiga, or via a serial port connection to
> an old VT-100 terminal, it would be child's play... Since both
> understood the same terminal control codes for moving the cursor around
> a text display.
>
>       The old MS-DOS "ANSI" console driver may have understood that set.
> But M$, in its great and all-powerful wisdom, seems to feel that the
> only need for a command line interface is for batch configuration
> scripts that run with no human interaction, and hence with no need for
> status. One is expected to code a GUI instead if such things as
> progress-bars are needed.
>
>       A google for "windows console cursor control" brings up (a bit of a
> surprise since I my search terms didn't mention Python):
>
> http://newcenturycomputers.net/projects/wconio.html
>
> Of course, this isn't portable to LINUX or other operating systems...
>
>       Also, looking at win32api, I find a SetCursorPos() (and matching
> get...).
>
> --
>       Wulfraed        Dennis Lee Bieber               KD6MOG
>       [EMAIL PROTECTED]               [EMAIL PROTECTED]
>               HTTP://wlfraed.home.netcom.com/
>       (Bestiaria Support Staff:               [EMAIL PROTECTED])
>               HTTP://www.bestiaria.com/

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to