473,791 Members | 3,360 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reliability of venster+ctypes on win32

I downloaded and tried a small dialog-dll's application with
venster+ctypes+ python 2.3
its working very well, but is it reliable to use in big projects ? or
part of big projects ? wot are limitations in use ?

wot are advantages/disadvantages of this combination over win32all
package of Mark Hammond ? plz guide me before i starting using it ../

thanX in +vance !

somesh
Jul 18 '05 #1
2 1899
Somesh wrote:
I downloaded and tried a small dialog-dll's application with
venster+ctypes+ python 2.3
its working very well, but is it reliable to use in big projects ? or
part of big projects ?
You'll have to make that determination yourself, but IMO they are both very
stable. We started using them both in production applications sooner than the
authors probably would have advised, but didn't encounter problems (we've
certainly never had any crashes due to either library, for example).
wot are advantages/disadvantages of this combination over win32all
package of Mark Hammond ? plz guide me before i starting using it ../


win32all is a bigger install, so we chose not to use it with a couple of
applications in which download size was critical. Another drawback is that the
only APIs available are ones that the win32all author has chosen to include,
whereas ctypes lets you call pretty much anything, including 3rd party DLLs. A
drawback of ctypes is that it is more low-level in some cases, so sometimes you
have to do more things "by hand". For example, win32com has some very slick COM
support, especially if you're a COM client using IDispatch interfaces. You can
do all the same stuff in ctypes, but its COM offering isn't as mature yet.

Although Venster is young, you can still use it to do whatever Win32 GUIs you
need. It's probably the only pure Python GUI framework out there (which in
itself it pretty nifty), and if you're targeting the Windows platform and
already have experience doing Win32 GUI programming then you should definitely
consider it. It's not nearly as high-level as, say, wxPython (so proceed with
caution if you don't have Win32 GUI API experience), but advantages include
blazingly fast application load times compared to other frameworks and very,
very tiny footprint (we added a GUI to our application and increased the
download size by <30KB! :) )

We don't use win32all anymore, but there's certainly no reason why you have to
choose one or the other - if it makes sense then you can use both.

-Dave
Jul 18 '05 #2
On Thu, 1 Apr 2004, Dave Brueck wrote:
Somesh wrote:
I downloaded and tried a small dialog-dll's application with
venster+ctypes+ python 2.3
its working very well, but is it reliable to use in big projects ? or
part of big projects ?


You'll have to make that determination yourself, but IMO they are both very
stable. We started using them both in production applications sooner than the
authors probably would have advised, but didn't encounter problems (we've
certainly never had any crashes due to either library, for example).


Amen.

--
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: an*****@bullsey e.apana.org.au (pref) | Snail: PO Box 370
an*****@pcug.or g.au (alt) | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia

Jul 18 '05 #3

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

Similar topics

13
9230
by: ulysses | last post by:
Hi,all I use wxPython make a bittorrent client. I find wxPython very slow and use many many memory. When app start, it need 19MB memory. I only use common GUI components. Python is a really good programming language. But how to do a small,smart, efficency GUI in win32,it's a big question. I need make GUI,core code is bittorrent code. I can't change it.it's
1
1746
by: Wiktor Sadowski | last post by:
Thomas,consider this: specialized_python.exe --path/foo.px (command line) where foo.px is zipped ctypes-venster program -modules,some code,binaries(images etc.) specialized_python.exe could be statically linked against C ctypes,and could contain ctypes and venster python code (freezed) (specialized_python.exe could also work as "regular" python.exe and successfully run ".py" , ".pyc" files) Now associate ".px" with...
7
3606
by: Miranda Evans | last post by:
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?
5
1777
by: Will | last post by:
Is there multi-media support in Python? So I can... 1 - play video in all the standard formats... windows & Mac? 2 - play flash files 3 - Power Point 4 - Standard graphic formats 5 - Sound in all the standard formats 6 - etc Please note requirements: And, on video's, flash files, Power Point, Graphic
3
2813
by: Adal Chiriliuc | last post by:
Hi. I'm working on a C++ Win32 MFC application and I want to move as much code as possible to Python. At first I wanted to use a Python GUI package and keep the critical components (performance wise) in C++ extensions. The application must have a native look so this leaves us with only two choices. wxPython is way too bloated (9 MB on disk, 20MB! in memory for basic
5
4912
by: Fred | last post by:
Hi, I'd like to turn a command-line script into a Windows GUI app using the native widgets so as to reduce the size of the binary (ie. no QT, wxWidgets, et al.) I came up with the following list of tools to access the Win32 API: - PythonWin (MFC) http://www.python.org/windows/pythonwin/ - ctypes http://starship.python.net/crew/theller/ctypes/
98
3959
by: jacob navia | last post by:
<< QUOTE It is NOT a C compiler, because it doesn't conform to any commonly accepted C specification (K&R, C89, C99). You have no right to call it a C compiler until you get it to conform quote >> lcc-win32 provokes unexpected passions in some people using this newsgroup. It is a H compiler then (H for heretical, non-orthodox) << QUOTE
5
4905
by: al pacino | last post by:
hi, is it possible to address the 'screen pixels' using python , like analogous to older dos( functions that graphics.h provides') or win api calls for gdi. what i want is to display clusters (in differetn colours) on screen using python. thanks.
16
2420
by: Durumdara | last post by:
Hi ! I have a problem. I have a little tool that can get data about filesystems and wrote it in python. The main user asked me a GUI for this software. This user is needed a portable program, so I create this kind of the software with Py2Exe.
0
9669
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9517
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10428
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9997
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9030
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4110
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.