[issue46952] pip progress bar display bug

2022-03-07 Thread Dennis Sweeney
Change by Dennis Sweeney : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46952] pip progress bar display bug

2022-03-07 Thread Dennis Sweeney
Dennis Sweeney added the comment: pip is maintained externally at https://github.com/pypa/pip , so that is likely a better place to open an issue about pip. -- nosy: +Dennis Sweeney ___ Python tracker

[issue46952] pip progress bar display bug

2022-03-07 Thread 미사일
Change by 미사일 : Added file: https://bugs.python.org/file50663/screen.jpg ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46952] pip progress bar display bug

2022-03-07 Thread 미사일
Change by 미사일 : -- components: -2to3 (2.x to 3.x conversion tool) ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46952] pip progress bar display bug

2022-03-07 Thread 미사일
New submission from 미사일 : Pip progress bar isn't connect each other and overlap with other components. -- components: 2to3 (2.x to 3.x conversion tool) messages: 414725 nosy: misileminecord priority: normal severity: normal status: open title: pip progress bar display bug versions

Re: Tkinter Progress Bar

2019-08-22 Thread Terry Reedy
On 8/22/2019 12:12 PM, Dennis Lee Bieber wrote: On Thu, 22 Aug 2019 15:49:28 +0200, nospam_2...@efbe.prima.de declaimed the following: Am 22.08.19 um 15:19 schrieb Daniel: If i have a figure like 13247347347437x23828328382  how to make a progress bar in tkinter that shows the time the pc

Tkinter Progress Bar

2019-08-22 Thread Daniel
If i have a figure like 13247347347437x23828328382 how to make a progress bar in tkinter that shows the time the pc takes to give the result? --- Este email foi escaneado pelo Avast antivírus. https://www.avast.com/antivirus -- https://mail.python.org/mailman/listinfo/python-list

Re: Tkinter Progress Bar

2019-08-22 Thread nospam_2019
Am 22.08.19 um 15:19 schrieb Daniel: > If i have a figure like 13247347347437x23828328382  how to make a > progress bar in tkinter that shows the time the pc takes to give the > result? > https://docs.python.org/3/library/tkinter.ttk.html?highlight=progressbar -- https://mai

Re: progress bar

2015-02-25 Thread Denis McMahon
On Tue, 24 Feb 2015 23:42:42 -0800, Swapnil Pande wrote: i want to call another tkinter window after completing the progress bar an n e one help me Try shouting Oi, Window! Or show us the code that isn't working (just the bit that isn't working) and explain what it should be doing and what

Re: progress bar

2015-02-25 Thread Steven D'Aprano
Swapnil Pande wrote: i want to call another tkinter window after completing the progress bar an n e one help me What does call another tkinter window mean? I understand call another function, but how do you call a window? Perhaps it will help if you show us some code. -- Steven

progress bar

2015-02-24 Thread Swapnil Pande
i want to call another tkinter window after completing the progress bar an n e one help me -- https://mail.python.org/mailman/listinfo/python-list

Showing Progress Bar

2013-11-23 Thread Himanshu Garg
I want to show simple dots while my program copies the files. I have found the code like: for i in range(10): print '.', time.sleep(1) But this will execute ten times as it is predefined and the task to copy will execute after or before this loop based on the location I have placed my

Re: Showing Progress Bar

2013-11-23 Thread Ned Batchelder
On Saturday, November 23, 2013 6:36:28 AM UTC-5, Himanshu Garg wrote: I want to show simple dots while my program copies the files. I have found the code like: for i in range(10): print '.', time.sleep(1) But this will execute ten times as it is predefined and the task to copy

Re: Showing Progress Bar

2013-11-23 Thread Himanshu Garg
for i in range(10): sys.stdout.write(.) sys.stdout.flush() time.sleep(1) sys.stdout.write(\n) shutil.copytree(pack, /lxc/pack) But Here, the loop will first print the progress dots and then it will copy the directory. But I want that these two tasks should run

Re: Showing Progress Bar

2013-11-23 Thread Frank Millman
Himanshu Garg hgarg.in...@gmail.com wrote in message news:b4b7cf70-07fa-455a-b01f-cb69b9402...@googlegroups.com... I want to show simple dots while my program copies the files. I have found the code like: for i in range(10): print '.', time.sleep(1) But this will execute ten times

Re: Showing Progress Bar

2013-11-23 Thread Himanshu Garg
Thanks a lot Frank! Its superb. I got what I wanted. Thanks Again! -- https://mail.python.org/mailman/listinfo/python-list

Re: Showing Progress Bar

2013-11-23 Thread Chris Angelico
On Sat, Nov 23, 2013 at 11:11 PM, Frank Millman fr...@chagford.com wrote: class ProgressBar(threading.Thread): In a separate thread, print dots to the screen until terminated. It's worth noting that this, as coded, is not a progress bar but merely an activity bar. The number

tkinter progress bar

2013-07-23 Thread hsiwrek
Hi, How can I add a tkinter progress bar in python 3.2 to start before a loop and end after it. I am looking for a very simple solution. def MyFunc(): Start progress bar for fileName in fileList: … End progress bar Thanks a lot in advance. -- http://mail.python.org

Re: tkinter progress bar

2013-07-23 Thread Christian Gollwitzer
Am 23.07.13 08:52, schrieb hsiw...@walla.com: Hi, How can I add a tkinter progress bar in python 3.2 to start before a loop and end after it. I am looking for a very simple solution. def MyFunc(): Start progress bar for fileName in fileList: … End progress bar 1

Re: tkinter progress bar

2013-07-23 Thread hsiwrek
Dear Christian, Thanks for the help. Can you please add a source example as I am new with Tkinter. Cheers. -- http://mail.python.org/mailman/listinfo/python-list

Re: tkinter progress bar

2013-07-23 Thread Jason Swails
_loop_progress(self, *args): for i in range(10): self.progress.step(1) # Necessary to update the progress bar appearance self.update() # Busy-wait time.sleep(2) if __name__ == '__main__': root = tk.Tk() app = MainApp(root) app.pack(expand=1, fill

Re: Command Line Progress Bar

2012-12-27 Thread Oscar Benjamin
On 26 December 2012 06:17, Kevin Anthony kevin.s.anth...@gmail.com wrote: Hello, I'm writing a file processing script(Linux), and i would like to have a progress bar. But i would also like to be able to print messages. Is there a simple way of doing this without implementing something like

Re: Command Line Progress Bar

2012-12-26 Thread peter
On 12/26/2012 03:17 AM, Kevin Anthony wrote: Hello, I'm writing a file processing script(Linux), and i would like to have a progress bar. But i would also like to be able to print messages. Is there a simple way of doing this without implementing something like ncurses? -- Thanks Kevin

Re: Command Line Progress Bar

2012-12-26 Thread Irmen de Jong
On 26-12-2012 7:17, Kevin Anthony wrote: Hello, I'm writing a file processing script(Linux), and i would like to have a progress bar. But i would also like to be able to print messages. Is there a simple way of doing this without implementing something like ncurses? This little library

Re: Command Line Progress Bar

2012-12-26 Thread Alec Taylor
On Thu, Dec 27, 2012 at 3:05 AM, Irmen de Jong irmen.nos...@xs4all.nl wrote: On 26-12-2012 7:17, Kevin Anthony wrote: Hello, I'm writing a file processing script(Linux), and i would like to have a progress bar. But i would also like to be able to print messages. Is there a simple way

Re: Command Line Progress Bar

2012-12-26 Thread xDog Walker
On Tuesday 2012 December 25 22:17, Kevin Anthony wrote: Hello, I'm writing a file processing script(Linux), and i would like to have a progress bar. But i would also like to be able to print messages. Is there a simple way of doing this without implementing something like ncurses? http

Command Line Progress Bar

2012-12-25 Thread Kevin Anthony
Hello, I'm writing a file processing script(Linux), and i would like to have a progress bar. But i would also like to be able to print messages. Is there a simple way of doing this without implementing something like ncurses? -- Thanks Kevin Anthony www.NoSideRacing.com Do you use Banshee

Re: Command Line Progress Bar

2012-12-25 Thread Mitya Sirenef
On 12/26/2012 01:17 AM, Kevin Anthony wrote: Hello, I'm writing a file processing script(Linux), and i would like to have a progress bar. But i would also like to be able to print messages. Is there a simple way of doing this without implementing something like ncurses? -- Thanks Kevin

Re: Tkinter polling example: file copy with progress bar

2010-12-15 Thread Steve Holden
On 12/14/2010 11:52 PM, JohnWShipman wrote: you know how us ancient Unix weenies are. Indeed we do ... ;-) regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 PyCon 2011 Atlanta March 9-17 http://us.pycon.org/ See Python Video!

Re: Tkinter polling example: file copy with progress bar

2010-12-14 Thread baloan
Unfortunately you use command('cp...') to copy the file instead of Pythons portable library methods. This choice effectively makes your program work on Unix only (not Windows). See http://modcopy.sourceforge.net for a more portable version. Regards, bal...@gmail.com --

Re: Tkinter polling example: file copy with progress bar

2010-12-14 Thread D'Arcy J.M. Cain
On Tue, 14 Dec 2010 07:35:45 -0800 (PST) baloan balo...@googlemail.com wrote: Unfortunately you use command('cp...') to copy the file instead of Pythons portable library methods. This choice effectively makes your program work on Unix only (not Windows). See http://modcopy.sourceforge.net

Re: Tkinter polling example: file copy with progress bar

2010-12-14 Thread Harishankar
On Tue, 14 Dec 2010 10:57:40 -0500, D'Arcy J.M. Cain wrote: I guess I missed the beginning of this thread but can someone tell me why one needs to download a whole other program in order to do this? open(out_fn, 'w').write(open(in_fn).read()) Or what about shutil? Isn't that the higher

Re: Tkinter polling example: file copy with progress bar

2010-12-14 Thread D'Arcy J.M. Cain
On Tue, 14 Dec 2010 16:25:54 + (UTC) Harishankar v.harishan...@gmail.com wrote: On Tue, 14 Dec 2010 10:57:40 -0500, D'Arcy J.M. Cain wrote: open(out_fn, 'w').write(open(in_fn).read()) Or what about shutil? Isn't that the higher level file operation module? At least that's in the

Re: Tkinter polling example: file copy with progress bar

2010-12-14 Thread JohnWShipman
On Dec 14, 8:57 am, D'Arcy J.M. Cain da...@druid.net wrote: On Tue, 14 Dec 2010 07:35:45 -0800 (PST) baloan balo...@googlemail.com wrote: Unfortunately you use command('cp...') to copy the file instead of Pythons portable library methods. This choice effectively makes your program work on

Re: Tkinter polling example: file copy with progress bar

2010-12-14 Thread JohnWShipman
On Dec 14, 8:57 am, D'Arcy J.M. Cain da...@druid.net wrote: On Tue, 14 Dec 2010 07:35:45 -0800 (PST) baloan balo...@googlemail.com wrote: Unfortunately you use command('cp...') to copy the file instead of Pythons portable library methods. This choice effectively makes your program work on

Tkinter polling example: file copy with progress bar

2010-12-12 Thread JohnWShipman
with pexpect, and the GUI reports the progress of the file copy using a Scale widget as a progress bar. Cordially, John W. Shipman, NM Tech Computer Center, Socorro, NM; j...@nmt.edu #!/usr/bin/env python

[issue8560] regrtest: add a minimal progress bar

2010-08-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed patch adding the [x/y] style indicator in r83543. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8560

[issue8560] regrtest: add a minimal progress bar

2010-07-10 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Hmm, I see only one objection... and I think readability will be much less affected if the format is [ 1/340] test_grammar [ 2/340] test_opcodes [ 3/340] test_dict or somesuch. -- nosy: +georg.brandl resolution: invalid - status:

[issue8560] regrtest: add a minimal progress bar

2010-07-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Georg's suggestion is rather nice. -- nosy: +pitrou versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8560 ___

[issue8560] regrtest: add a minimal progress bar

2010-07-10 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8560 ___ ___ Python-bugs-list

[issue8560] regrtest: add a minimal progress bar

2010-05-06 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Most developer are opposed to this feature, so I close this issue. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8560] regrtest: add a minimal progress bar

2010-04-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: -1 IMO it just makes the output messier and less readable, and I personally am fine with judging the progress by the filenames. -- nosy: +r.david.murray ___ Python tracker

[issue8560] regrtest: add a minimal progress bar

2010-04-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I personally am fine with judging the progress by the filenames The new displayed test names only inform you that regrtest is not blocked, but you don't know how many tests remain if: - you use -j option (which shuffle the list

[issue8560] regrtest: add a minimal progress bar

2010-04-29 Thread STINNER Victor
to support --without-threads ;-)). When it takes more than 30 seconds, I would like a progress bar to estimate (myself) the remaing time :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8560

[issue8560] regrtest: add a minimal progress bar

2010-04-28 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: regrtest takes between 10 and 20 minutes to run the full test suite. It would be nice to see the progress of the test suite with a kind of progress bar. Add the test number would be enough: $ ./python Lib/test/regrtest.py

Re: How do you implement a Progress Bar

2010-02-13 Thread Sean DiZazzo
On Feb 12, 11:33 pm, J Wolfe vorticitywo...@gmail.com wrote: I would really appreciate some help with this.  I'm fairly new to using classes...What am I doing wrong? All I get is a blank window. I can't seem to figure out how to initialize this Progress Bar. Study and hack on this: http

How do you implement a Progress Bar

2010-02-12 Thread J Wolfe
I would really appreciate some help with this. I'm fairly new to using classes...What am I doing wrong? All I get is a blank window. I can't seem to figure out how to initialize this Progress Bar. Thanks, Jonathan ##file Meter.py from Tkinter

Re: How do you implement a Progress Bar

2010-02-12 Thread Alf P. Steinbach
* J Wolfe: I would really appreciate some help with this. I'm fairly new to using classes...What am I doing wrong? All I get is a blank window. I can't seem to figure out how to initialize this Progress Bar. Thanks, Jonathan ##file Meter.py

About progress bar in glade

2009-05-12 Thread shruti surve
hi i am using progress bar in glade and python file. When i clicked on menu item, open office spreadsheet will be opened. but it takes some time to open up, so i want to add progress bar. Now, when i clicked on menu item,dialog with progress bar is coming and progress bar is pulsating but xml_rpc

Re: About progress bar in glade

2009-05-12 Thread shruti surve
On Tue, May 12, 2009 at 6:19 PM, shruti surve sasu...@gmail.com wrote: hi i am using progress bar in glade and python file. When i clicked on menu item, open office spreadsheet will be opened. but it takes some time to open up, so i want to add progress bar. Now, when i clicked on menu item

wxpython automate progress bar

2007-09-08 Thread Jimmy
Hi, I want a progress bar to increase automatically, so I wrote code like this: current = 0 while True: if current == 100: current = 0 self._gauge.SetValue(current) time.sleep

Re: wxpython automate progress bar

2007-09-08 Thread Chris Mellon
On 9/8/07, Jimmy [EMAIL PROTECTED] wrote: Hi, I want a progress bar to increase automatically, so I wrote code like this: current = 0 while True: if current == 100: current = 0 self

Simple Tkinter Progress Bar

2007-05-11 Thread Gurpreet Singh
Hi I am a newbie in Python I am creating a simple Tkinter based application. I have written Tkinter GUI source code and the programme logic in the same .py file. I am searching for a way to implement a simple Progress bar for my application. Are there any simple ways of doin

Re: Simple Tkinter Progress Bar

2007-05-11 Thread Stefan Sonnenberg-Carstens
On Fr, 11.05.2007, 08:42, Gurpreet Singh wrote: Hi I am a newbie in Python I am creating a simple Tkinter based application. I have written Tkinter GUI source code and the programme logic in the same .py file. I am searching for a way to implement a simple Progress bar for my application

Recursing for Progress Bar

2006-09-18 Thread [EMAIL PROTECTED]
I'm making a small interface for copying large groups of files around a filesystem. I have a progressbar that counts the items in the destination, and increments as each new file is copied over. It compares this number to the number of files in the source and updates accordingly. All is fine

Re: Recursing for Progress Bar

2006-09-18 Thread Ben Finney
[EMAIL PROTECTED] [EMAIL PROTECTED] writes: Is there a way to get around recursion limits? Help! ~~ def incrementProgress(self, window, workorder): #... time.sleep(.1) self.incrementProgress(window,

Re: Recursing for Progress Bar

2006-09-18 Thread [EMAIL PROTECTED]
DOLT! Thanks! Dennis Lee Bieber wrote: On 18 Sep 2006 19:38:48 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED] declaimed the following in comp.lang.python: Is there a way to get around recursion limits? Help! Yes... restructure your code to not use recursion... Should be easy

Re: Recursing for Progress Bar

2006-09-18 Thread [EMAIL PROTECTED]
Makes perfect sense. Sometimes it takes being whacked to see it the right way. Thanks! Ben Finney wrote: [EMAIL PROTECTED] [EMAIL PROTECTED] writes: Is there a way to get around recursion limits? Help! ~~ def incrementProgress(self, window,

Re: Threads and Progress Bar

2006-09-15 Thread Thomas Guettler
On Fri, 01 Sep 2006 21:43:46 +0530 Ritesh Raj Sarraf [EMAIL PROTECTED] wrote: Hi, I have a small application, written in Python, that uses threads. The application uses function foo() to download files from the web. As it reads data from the web server, it runs a progress bar by calling

FtpUtils Progress Bar

2006-09-13 Thread iwcook58
Hi, I can successfully upload and download files using Stefan's Schwarzer's ftputil script. The problem is that as some of the files are quite large you cannot see how much has been downloaded/uploaded. Even a percentage or just dots going across the screen would be better than nothing. Does

Re: FtpUtils Progress Bar

2006-09-13 Thread Timothy Smith
[EMAIL PROTECTED] wrote: Hi, I can successfully upload and download files using Stefan's Schwarzer's ftputil script. The problem is that as some of the files are quite large you cannot see how much has been downloaded/uploaded. Even a percentage or just dots going across the screen would be

Re: FtpUtils Progress Bar

2006-09-13 Thread George Sakkis
[EMAIL PROTECTED] wrote: Hi, I can successfully upload and download files using Stefan's Schwarzer's ftputil script. The problem is that as some of the files are quite large you cannot see how much has been downloaded/uploaded. Even a percentage or just dots going across the screen would be

Re: FtpUtils Progress Bar

2006-09-13 Thread Justin Ezequiel
[EMAIL PROTECTED] wrote: Does anyone have an example on how to show the progress of the upload/download when using ftputil? haven't used ftputil in quite a while ... but using ftplib... import ftplib class Callback(object): def __init__(self, totalsize, fp): self.totalsize =

Re: Threads and Progress Bar

2006-09-02 Thread Bryan Olson
Ritesh Raj Sarraf wrote: [...] Here's the function, download_from_web() which calls the progress bar: main.py def download_from_web(sUrl, sFile, sSourceDir, checksum): [...] temp = urllib2.urlopen(sUrl) headers = temp.info() size = int(headers['Content-Length

Threads and Progress Bar

2006-09-01 Thread Ritesh Raj Sarraf
Hi, I have a small application, written in Python, that uses threads. The application uses function foo() to download files from the web. As it reads data from the web server, it runs a progress bar by calling an install of a progress bar class. When using threads, I get the problem

Re: Threads and Progress Bar

2006-09-01 Thread Ritesh Raj Sarraf
Dennis Lee Bieber on Friday 01 Sep 2006 23:04 wrote: Well... first off -- some minimal code would be of use... I was scared that people might feel that I'm asking for a ready-made solution. :-) Here's the code. The is the progress bar code. progressbar.py class progressBar: def __init__

Progress bar in web-based ftp?

2006-05-09 Thread CatDude
error checking, etc. My question is whether anyone has ideas as to how I could implement a progress bar. When I send a large file this way it can take a long time, and I'd like to be able to reassure the user that something really is happening. -- http://mail.python.org/mailman/listinfo/python-list

Re: Progress bar in web-based ftp?

2006-05-09 Thread Larry Bates
(form[name].value)) after error checking, etc. My question is whether anyone has ideas as to how I could implement a progress bar. When I send a large file this way it can take a long time, and I'd like to be able to reassure the user that something really is happening. Turns out

[FIXED] Re: urllib2.urlopen Progress bar

2006-01-15 Thread Ritesh Raj Sarraf
() temp.close() Thanks, Ritesh Ritesh Raj Sarraf on Sunday 15 Jan 2006 12:55 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, In urllib.urlretrieve I can use reporthook to implement a progress bar. But in urllib2.urlopen I can't. I have to use urllib2.urlopen because

urllib2.urlopen Progress bar

2006-01-14 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, In urllib.urlretrieve I can use reporthook to implement a progress bar. But in urllib2.urlopen I can't. I have to use urllib2.urlopen because it throws exceptions which are important to be handled where as urlretrieve is dumb. Is there a way

Re: query progress bar

2005-05-17 Thread Timothy Smith
Harald Massa wrote: it's for wx, the problem isn't making the progress bar itself, it's knowing how long the query is going to run for. i'm using pypgsql It is quite easy: from timemachine import oracle guesser=oracle(guess=SQL) guesser.set_hint(driver=pypgsql) guesser.set_hint(gui=wx

Re: query progress bar

2005-05-17 Thread f
Timothy Smith wrote: is it possible to mke a progress bar for queries? say i have a query that will take 20 seconds, i'd like to give some feed back to users on how long this will take. it is strictly impossible to predict that cause of network load, server load, query complexity i

Re: query progress bar

2005-05-17 Thread Bernhard Holzmayer
Timothy Smith wrote: i'm using pypgsql Assuming you work with PostgreSQL, then: You know the EXPLAIN command? EXPLAIN will give you a very accurate estimation for the expense for the query. (You'll have to find out what cost means in terms of your progress.) I did never try this using

Re: query progress bar

2005-05-17 Thread Timothy Smith
Bernhard Holzmayer wrote: Timothy Smith wrote: i'm using pypgsql Assuming you work with PostgreSQL, then: You know the EXPLAIN command? EXPLAIN will give you a very accurate estimation for the expense for the query. (You'll have to find out what cost means in terms of your

Re: query progress bar

2005-05-17 Thread Scott David Daniels
f wrote: Timothy Smith wrote: is it possible to mke a progress bar for queries? say i have a query that will take 20 seconds, i'd like to give some feed back to users on how long this will take. an activity widget, something moving (ie throbber in wxPython) while waiting

query progress bar

2005-05-16 Thread Timothy Smith
is it possible to mke a progress bar for queries? say i have a query that will take 20 seconds, i'd like to give some feed back to users on how long this will take. -- http://mail.python.org/mailman/listinfo/python-list

Re: query progress bar

2005-05-16 Thread [EMAIL PROTECTED]
What type of UI is this for? The Python Cookbook, 2nd Ed. has a nice textual solution. I'm not sure if this is the same one, but here is a href=http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/168639;one from ASPN/a. Here is one a

Re: query progress bar

2005-05-16 Thread Timothy Smith
/wx.ProgressDialog-class.html; for wxPython./a it's for wx, the problem isn't making the progress bar itself, it's knowing how long the query is going to run for. i'm using pypgsql -- http://mail.python.org/mailman/listinfo/python-list

Re: query progress bar

2005-05-16 Thread Harald Massa
it's for wx, the problem isn't making the progress bar itself, it's knowing how long the query is going to run for. i'm using pypgsql It is quite easy: from timemachine import oracle guesser=oracle(guess=SQL) guesser.set_hint(driver=pypgsql) guesser.set_hint(gui=wx) expected_runtime

GTK progress bar not working properly with pulse()

2005-05-09 Thread lamthierry
My python file(progressbar.py) looks like the following: pbar = gtk.ProgressBar() def updateBar(percentage): print percentage pbar.pulse() class ProgressBar: def __init__(self): # other gui codes align.add(pbar) pbar.show() My C++ codes look like the

Progress Bar with urllib2

2005-04-26 Thread Andrew Godwin
= [('User-agent', userAgent)] Now, if I want to download the file all at once, I just do satelliteData = satelliteOpener.open(satelliteRequest).read() But some of these files are going to be really, really big, and I want to get a progress bar going. I've tried doing a while loop like

Re: Progress Bar with urllib2

2005-04-26 Thread Trent Mick
But some of these files are going to be really, really big, and I want to get a progress bar going. I've tried doing a while loop like this: Here is a little snippet that I use occassionally: -- geturl.py --- import os import sys import urllib def

progress bar controls in status.py

2005-02-22 Thread mirandacascade
O/S - Windows XP Home with Service Pack 2 Vsn of Python: 2.4 (from ActiveState) This question is with regard to the progress bar controls that are in the file status.py. On my workstation, status.py is located in the: c:\python24\lib\site-packages\pythonwin\pywin\dialogs\ folder. The only