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
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
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
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 w
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 u
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
On Sat, Nov 23, 2013 at 11:11 PM, Frank Millman 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
Thanks a lot Frank! Its superb. I got what I wanted. Thanks Again!
--
https://mail.python.org/mailman/listinfo/python-list
"Himanshu Garg" 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 as it is pre
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 r
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 t
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
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)
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
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. There is a
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
On 26 December 2012 06: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 lik
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 lik
On Thu, Dec 27, 2012 at 3:05 AM, Irmen de Jong 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
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 lik
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
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
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 Ba
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! http://python.mirocommunity.o
On Dec 14, 8:57 am, "D'Arcy J.M. Cain" wrote:
> On Tue, 14 Dec 2010 07:35:45 -0800 (PST)
>
> baloan 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).
>
On Dec 14, 8:57 am, "D'Arcy J.M. Cain" wrote:
> On Tue, 14 Dec 2010 07:35:45 -0800 (PST)
>
> baloan 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).
>
On Tue, 14 Dec 2010 16:25:54 + (UTC)
Harishankar 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 standard library but even t
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
On Tue, 14 Dec 2010 07:35:45 -0800 (PST)
baloan 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 for a more portable
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
--
http://mail.python.org/mai
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
On Feb 12, 11:33 pm, J Wolfe 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: h
* 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
##fil
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
fr
On Tue, May 12, 2009 at 6:19 PM, shruti surve 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 m
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
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
>
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
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 s
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 it
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
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...
>
>
"[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(wi
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 and
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, i
[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 =
[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 wo
[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 wo
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 anyo
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(
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 prog
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 that the
s.unlink(filePath)
> file(filePath, 'wb').write(str(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,
> a
stion 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
"\n"
data.close()
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
-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 w
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 throb
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 o
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 pypgsq
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 comp
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
&g
> 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(dri
uot;http://wxpython.org/docs/api/wx.ProgressDialog-class.html";> for
>wxPython.
>
>
>
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
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 http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/168639";>one
from ASPN. Here is one http://wxpython.org/docs/api/wx.ProgressDialog-class.html";> for
wxPyt
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
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 followi
ata = 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 this:
>
> chunkSize = 10240
> while 1:
> dataBuffer = satelliteOpene
> 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
satelliteOpener = urllib2.build_opener()
satelliteOpener.addheaders = [('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 ba
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
70 matches
Mail list logo