Progress Box or Bar in Windows



Hi guys,

I have a Python script that I've prettied-up for Windows users by adding things like shell.SHBrowseForFolder and win32gui.MessageBox, etc. In short, it looks like this:

1. Pretty window where user can browse for folder. (instead of typing path into cmd prompt)

2. win32gui.MessageBox informing user the script will now begin.

3.

4. win32gui.MessageBox informing user the script has finished.

I left 3 blank. This is where I'd like to use some sort of progress indicator (a box that says 'processing 3 of 30 files... 4 of 30, etc' or a progress bar that moves across the screen as the script does its job. Any ideas on how to do this quickly and easily (less than 20 lines of code)?

I'd prefer to stick with the win32 extensions, but I'd be willing to use TK too if that would be simpler... and it looks like TK would be much simpler :)

Thanks!

.



Relevant Pages

  • Re: Progress Box or Bar in Windows
    ... to add simple file open dialogs, message boxes, and progress bars to ... I have a Python script that I've prettied-up for Windows users by adding ... win32gui.MessageBox informing user the script will now begin. ...
    (comp.lang.python)
  • Re: Is Mac a security hazard in a Windows network
    ... I'd also suggest you run a script after you're finished browsing a Windows ... box to clear out Mac files which are only visible to Windows users. ...
    (comp.sys.mac.system)
  • Re: making symlinks with distutils
    ... myexecutable.py is a script which is intended to be used ... > to be made at installation time, when the user runs "python setup.py ... from mypackage import myexecutable ... windows users without code duplication. ...
    (comp.lang.python)
  • User authentication using scripting?
    ... authenticate them against windows users from within a script. ... If so, wich ...
    (microsoft.public.scripting.vbscript)
  • Term::ProgressBar problems with multiple calls
    ... Attached is a small sample script. ... I want to download those in a loop. ... Getting Trailers from 2 Trailerpages ... # For immediate output of progress bar ...
    (comp.lang.perl.modules)