473,395 Members | 2,446 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

progress bar

OS: Win2K
Python version: 2.2

Seeking references to documentation that discuss how a python script
can handle displaying a progress bar. Also, if you are aware of any
sample code that illustrates this, I'm interested in looking at that
sample code.

Are there ways to accomplish this that do not involve using a
full-featured GUI toolkit like Tkinter or wxPython or PythonCard?
Jul 18 '05 #1
7 3590
> OS: Win2K
Python version: 2.2

Seeking references to documentation that discuss how a python script
can handle displaying a progress bar. Also, if you are aware of any
sample code that illustrates this, I'm interested in looking at that
sample code.

Are there ways to accomplish this that do not involve using a
full-featured GUI toolkit like Tkinter or wxPython or PythonCard?


Try Venster:
http://venster.sourceforge.net

IIRC the test_coolbar.py script includes a progress bar.

-Dave

Jul 18 '05 #2
On 23 Jan 2004 13:29:38 -0800, mi************@yahoo.com (Miranda Evans)
wrote:
Seeking references to documentation that discuss how a python script
can handle displaying a progress bar. Also, if you are aware of any
sample code that illustrates this, I'm interested in looking at that
sample code.

Are there ways to accomplish this that do not involve using a
full-featured GUI toolkit like Tkinter or wxPython or PythonCard?


http://aspn.activestate.com/ASPN/Coo.../Recipe/168639

Jul 18 '05 #3
>
Try Venster:
http://venster.sourceforge.net

IIRC the test_coolbar.py script includes a progress bar.


I wonder what possessed someone to start another GUI framework. Aren't
there more than enough existing ones? The reasoning for it wasn't
immediately apparent on the web page.

Hoang Do
http://jotsite.com

Jul 18 '05 #4
# > Try Venster:
# > http://venster.sourceforge.net
# >
# > IIRC the test_coolbar.py script includes a progress bar.
#
# I wonder what possessed someone to start another GUI framework. Aren't
# there more than enough existing ones? The reasoning for it wasn't
# immediately apparent on the web page.

Aside from any pure utility, because it's fun. :)

--

Jonathan Daugherty
http://www.cprogrammer.org

"It's a book about a Spanish guy called Manual, you should read it."
-- Dilbert

Jul 18 '05 #5
Hoang wrote:
Try Venster:
http://venster.sourceforge.net

IIRC the test_coolbar.py script includes a progress bar.


I wonder what possessed someone to start another GUI framework. Aren't
there more than enough existing ones? The reasoning for it wasn't
immediately apparent on the web page.


Well, the intro you read said:

"Venster is a highly native Windows GUI toolkit for Python based on the ctypes
ffi library. The aim of Venster is to be a very lightweight wrapper around the
standard Win32 API, making it easy to write slick windows applications in pure
Python. "

Being very lightweight is a big deal compared to many other frameworks. I
include Venster in one of my applications and it weighs in at under 100KB. If
size of download / installer is important, this is a real win compared to the
multi-megabyte size of most other frameworks - the entire application (Python +
Venster + app) is shipped in a 1.3 MB cab file.

The other thing worth noticing from the intro is that Venster is pure Python.
Because of that it's very easy to extend and you avoid all sorts of build
hassles because there _is_ no build.

IMO the main downside of Venster is that it is not yet as mature as other
frameworks, so programming in it is not nearly as highlevel as, say, wxPython.
Still, there's a number of places where it's a good fit already - at my company
we recently started using it in a new application where the UI is either done
in Flash or in a few dialog boxes, and Venster creates the Window to host the
UI, does the dialog boxes, and handles the events generated by Flash - it'd be
overkill to have to include all of wxPython just to get that functionality.

-Dave
Jul 18 '05 #6
"Hoang" <tr@jotsite.com> wrote in message news:<9p*****************@newssvr29.news.prodigy.c om>...

Try Venster:
http://venster.sourceforge.net

IIRC the test_coolbar.py script includes a progress bar.


I wonder what possessed someone to start another GUI framework. Aren't
there more than enough existing ones? The reasoning for it wasn't
immediately apparent on the web page.

Hoang Do
http://jotsite.com


Newbie questions...what is meant by the term 'GUI framework'? I'm
aware of Tkinter, wxPython and PythonCard (which, I believe builds
from a wxPython foundation). Also, it appears as though pywin.mfc has
GUI capabilities. Are Tkinter, wxPython, PythonCard and pywin.mfc
considered GUI frameworks? Based on the 'more than enough...' remark,
it sounds like there are several GUI frameworks out there...what are
some others?
Jul 18 '05 #7
> Newbie questions...what is meant by the term 'GUI framework'? I'm
aware of Tkinter, wxPython and PythonCard (which, I believe builds
from a wxPython foundation). Also, it appears as though pywin.mfc has
GUI capabilities. Are Tkinter, wxPython, PythonCard and pywin.mfc
considered GUI frameworks? Based on the 'more than enough...' remark,
it sounds like there are several GUI frameworks out there...what are
some others?


Really, a GUI framework is a set of stuff that allows the construction
of a GUI more easily.

One could, with a bitmap drawing function, get mouse click and get key
press, create a GUI. This is a pain in the ass. All the GUI frameworks
available allow one to do that if they want, but also allow one to use
predefined sets of operations, objects, etc., commonly in a heirarchy,
to produce a GUI that is easier to write and to update.
There is a listing of GUI toolkits for various languages and platforms
available here:
http://home.pacbell.net/atai/guitool/
(I'm feeling lucky entry at google for 'python gui frameworks' )

- Josiah

P.S. I very much enjoy using wxPython.
Jul 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: SpamProof | last post by:
I got an animated gif that is a barber pole spinning that I want to use as a progress bar. The problem is that is stops spinning (shows 1 frame) when my browser is processing a submited request...
7
by: Pepi Tonas | last post by:
I have a form that takes some time to load because it has to populate some Data. I was trying to display a form on top of it with an activity bar so that user can see that something's going on. ...
1
by: scorpion53061 | last post by:
this code came from cor and I think Armin authored it. I am trying to download an access database and track its progress. It is reading the size fo the file but I am unsure of how to get the...
8
by: Brian Henry | last post by:
I created a smooth progress bar with this code.. but if you update the values in a row quickly of it and watch it on screen it flickers... how would i change this to reduce the flickering?...
8
by: WhiteWizard | last post by:
I guess it's my turn to ASK a question ;) Briefly my problem: I am developing a Windows app that has several User Controls. On one of these controls, I am copying/processing some rather large...
1
by: daniel_xi | last post by:
Hi all, I am running a VS 2003 .NET project on my client machine (Win 2000 SP4, ..NET framework 1.1), running an ASP.NET application on a remote web server (Win 2000 Server, IIS 6.0, .NET...
15
by: eladla | last post by:
Hi! I am creating a composite control the does some of it`s own data access. I want to display a progress bar between the time the page is loaded and the control place holder is displayed and...
5
by: Aggelos | last post by:
Hello I am doing sevreral scripts like sending a newsletter that might take a while to finish first to prevent the browser from timing out and to keep the user informed of the process progress I...
1
by: Bob | last post by:
Hi, I am having trouble seeing how this bolts together. The UI starts a process which involves a long running database update. All Database activity is handled by a class called DT. DT has a...
0
by: jags_32 | last post by:
Hello We use MFG-PRO as our ERP system which in turn uses Progress databases. In the old version of SQL 2000, using DTS packages, we used to set the code page via command prompts and execute DTS...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.