SourceForge logo
SourceForge logo
Menu

pythoncard-users

From: Miranda E. <mir...@ya...> - 2004年01月26日 15:51:16
Situation is this:
1) augmenting an existing python application
2) app runs on workstations that do not have python installed on them
3) environment is such that the install disk for the application distributes the various python files needed to run the app; it is NOT possible to use py2exe (or something equivalent)
4) the 'augmenting' involves adding a progress bar; the progress bar is the only GUI feature of the app
5) application is limited to Windows operating system
 
So, I'm looking for advice on best approach for adding progress bar functionality. My questions are:
1) could PythonCard be used for this?
2) given that the progress bar is the only GUI feature, does using PythonCard seem like overkill? i.e. using a feature-rich toolkit to do only one GUI thing.
3) if using PythonCard makes sense, how would one go about determining all of the python files that would be needed when one uses PythonCard for a progress bar? since PythonCard uses wxPython as a foundation, would this, by extension, mean that various wxPython files would need to be distributed?
4) if using PythonCard seems like overkill, are there more lightweight ways to get progress bar functionality into a python script?
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
From: Kevin A. <al...@se...> - 2004年01月26日 18:29:09
Based on your description and minimal GUI needs you would be better off just
doing a progress bar with Tkinter since it is included with Python. I would
suggest using EasyGUI which simplifies Tkinter for GUI programs that aren't
event driven, but it doesn't look EasyGUI has a way of doing a progress
dialog. Alternatively, look at the progress dialog sample code that comes
with the wxPython demo and just use a small wxPython app instead of Tkinter.
ka
 -----Original Message-----
 From: pyt...@li...
[mailto:pyt...@li...]On Behalf Of Miranda
Evans
 Sent: Monday, January 26, 2004 7:51 AM
 To: pyt...@li...
 Subject: [Pythoncard-users] request for advice
 Situation is this:
 1) augmenting an existing python application
 2) app runs on workstations that do not have python installed on them
 3) environment is such that the install disk for the application
distributes the various python files needed to run the app; it is NOT
possible to use py2exe (or something equivalent)
 4) the 'augmenting' involves adding a progress bar; the progress bar is
the only GUI feature of the app
 5) application is limited to Windows operating system
 So, I'm looking for advice on best approach for adding progress bar
functionality. My questions are:
 1) could PythonCard be used for this?
 2) given that the progress bar is the only GUI feature, does using
PythonCard seem like overkill? i.e. using a feature-rich toolkit to do only
one GUI thing.
 3) if using PythonCard makes sense, how would one go about determining all
of the python files that would be needed when one uses PythonCard for a
progress bar? since PythonCard uses wxPython as a foundation, would this,
by extension, mean that various wxPython files would need to be distributed?
 4) if using PythonCard seems like overkill, are there more lightweight
ways to get progress bar functionality into a python script?
----------------------------------------------------------------------------
--
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free web site building tool. Try it!
From: Thomas H. <th...@py...> - 2004年01月27日 11:17:58
Miranda Evans <mir...@ya...> writes:
> 4) the 'augmenting' involves adding a progress bar; the progress bar
> is the only GUI feature of the app
> 5) application is limited to Windows operating system
> 4) if using PythonCard seems like overkill, are there more lightweight
> ways to get progress bar functionality into a python script?
You can create a progress bar, displayed in a nice dialog box, with
win32all. You can look at win32all's makepy script for an example.
Thomas
From: Miranda E. <mir...@ya...> - 2004年01月27日 16:37:26
Please advise if this discussion should migrate to a different group; it started out as a PythonCard question, but it appears to have migrated away from PythonCard.
 
I believe I located the makepy.py file to which Mr. Heller made reference. My questions pertain to the GUIProgress class within makepy.py
1) would it be correct to infer from the following statements:
 from pywin.dialogs import status
 self.dialog=status.ThreadedStatusProgressDialog(tlb_desc)
 that within the file status.py there is a class ThreadedStatusProgressDialog?
2) I observed that there is a Starting() method within the GUIProgress class, but I wasn't able to determine where/how this Starting method gets called...I didn't see any explicit calls to the GUIProgress.Starting() method anywhere in makepy.py. If a method is named "Starting" does that mean that it automatically gets called at some point? Is the GUIProgress.Starting method called from anywhere within makepy.py? If it's not automatically called, and if it's not called from within makepy.py, why include it as amethod in the GUIProgress class?
Thomas Heller <th...@py...> wrote:
Miranda Evans writes:
> 4) the 'augmenting' involves adding a progress bar; the progress bar
> is the only GUI feature of the app
> 5) application is limited to Windows operating system
> 4) if using PythonCard seems like overkill, are there more lightweight
> ways to get progress bar functionality into a python script?
You can create a progress bar, displayed in a nice dialog box, with
win32all. You can look at win32all's makepy script for an example.
Thomas
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Pythoncard-users mailing list
Pyt...@li...
https://lists.sourceforge.net/lists/listinfo/pythoncard-users
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /