473,725 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

wxPython worries

I'm starting a new hopfully-commercial project soon, and I face a
dilemma about whether Python with wxPython would be appropriate.

The project has 3 main areas:

a) manipulation of lists and trees, using..
b) a hopefully dead-sexy gui, all in order to...
c) eventually pump out certain bits of the datastructure over the
network in semi-realtime (< 10ms accuracy or so).

The target is Win32 for now (98 - XP). Now, if it were up to me, I'd use
Delphi - it's what I know best. But I'm working with a less experienced
developer with whom I have no languages in common. He's keen to get
started on C#, I've toyed with C# and though it looks easy, I don't see
any major gains over what I already know.

I've read a lot about python and done some mini-stuff in it, and been
impressed with it's ease and conciseness. What worries me is wxPython:
looking at the demo code, it's quite verbose and 'bitty'. I'm also
unclear as to how easy custom controls are to build.

Am I just being confused by my newbie-ness, or are my initial concerns
justified? What's anybody else's experiences with gui programming in
wxPython like vs a RAD like Delphi or .NET?

Thanks,

James.
Jul 18 '05 #1
25 2616
I've got the same worries, but I'm still not really convinced...
boa-constructor is nice... but not there yet
"James Goldwater" <ja***@eccehomo .co.uk> wrote in message
news:ma******** *************** *************** @python.org...
I'm starting a new hopfully-commercial project soon, and I face a
dilemma about whether Python with wxPython would be appropriate.

The project has 3 main areas:

a) manipulation of lists and trees, using..
b) a hopefully dead-sexy gui, all in order to...
c) eventually pump out certain bits of the datastructure over the
network in semi-realtime (< 10ms accuracy or so).

The target is Win32 for now (98 - XP). Now, if it were up to me, I'd use
Delphi - it's what I know best. But I'm working with a less experienced
developer with whom I have no languages in common. He's keen to get
started on C#, I've toyed with C# and though it looks easy, I don't see
any major gains over what I already know.

I've read a lot about python and done some mini-stuff in it, and been
impressed with it's ease and conciseness. What worries me is wxPython:
looking at the demo code, it's quite verbose and 'bitty'. I'm also
unclear as to how easy custom controls are to build.

Am I just being confused by my newbie-ness, or are my initial concerns
justified? What's anybody else's experiences with gui programming in
wxPython like vs a RAD like Delphi or .NET?

Thanks,

James.

Jul 18 '05 #2
Hello again,

Forgot to mention SPE (uses the mentioned wxGlade):
http://spe.pycs.net/

Maybe this tool is more "IDE"-like. ;)

Regards,
Lars
Jul 18 '05 #3
Hello Guyon,
I've got the same worries, but I'm still not really convinced...
boa-constructor is nice... but not there yet


There's another free tool:

wxGlade
http://wxglade.sourceforge.net/

Commercial tools:
wxDesigner:
http://www.roebling.de/

DialogBlocks:
http://www.anthemion.co.uk/dialogblocks/

Maybe some of these tools fit your needs. I've no deep experience with
them all. :)

HTH,
Lars
Jul 18 '05 #4
James Goldwater wrote:
I'm starting a new hopfully-commercial project soon, and I face a
dilemma about whether Python with wxPython would be appropriate.

The project has 3 main areas:

a) manipulation of lists and trees, using..
b) a hopefully dead-sexy gui, all in order to...
c) eventually pump out certain bits of the datastructure over the
network in semi-realtime (< 10ms accuracy or so).

The target is Win32 for now (98 - XP). Now, if it were up to me, I'd use
Delphi - it's what I know best. But I'm working with a less experienced
developer with whom I have no languages in common. He's keen to get
started on C#, I've toyed with C# and though it looks easy, I don't see
any major gains over what I already know.

I've read a lot about python and done some mini-stuff in it, and been
impressed with it's ease and conciseness. What worries me is wxPython:
looking at the demo code, it's quite verbose and 'bitty'. I'm also
unclear as to how easy custom controls are to build.

Am I just being confused by my newbie-ness, or are my initial concerns
justified? What's anybody else's experiences with gui programming in
wxPython like vs a RAD like Delphi or .NET?

Thanks,

James.


I share your concerns with wxPython - it's a good, powerful toolkit, but
it lacks consistent and clear documentation, and a decent screen painter
(wxGlade probably is the most complete).

If you have the budget (USD 399 per developer), you may want look at
BlackAdder from The Kompany. It uses the PyQt bindings for the Qt
toolkit, which I find to be a bit better than wxPython/wxWindows, a bit
more polished and consistent. The package includes the BlackAdder
editor, the QtDesigner, PyQt docs and a license to redistribute the PyQt
libraries for win32 (which is really what you're paying for - most of
this is available for free on GPL'ed systems).

Another option is to extend/embed Python with Delphi; specifically, use
Delphi for the GUI, and Python for the logic. There's some Delphi
bindings and documentation here:

http://membres.lycos.fr/marat/delphi/python.htm
http://www.atug.com/andypatterns/pythonDelphiTalk.htm

Jul 18 '05 #5
PT
> What worries me is wxPython:
I'm also
unclear as to how easy custom controls are to build.
None of the Python GUI toolkits support making good custom controls as
well as Java and .NET do. TKinter is probably the best Python option
for that. If you are comfortable with Windows programming though,
wxPython will not be too difficult.
Am I just being confused by my newbie-ness, or are my initial concerns
justified? What's anybody else's experiences with gui programming in
wxPython like vs a RAD like Delphi or .NET?


If you want something similar to Delphi or .NET, then you would
probably like QT Designer much better than the wx options. See
BlackAdder (Win, $$) or eric3 (Linux, free):
http://www.thekompany.com/products/blackadder/
http://www.die-offenbachs.de/detlev/eric3.html

If money isn't an issue though, just stick with Visual Studio and C#
and let the other guy do most of the work.
Jul 18 '05 #6
James Goldwater <ja***@eccehomo .co.uk> pisze:
The target is Win32 for now (98 - XP). Now, if it were up to me, I'd use
Delphi - it's what I know best. But I'm working with a less experienced
developer with whom I have no languages in common. He's keen to get
started on C#, I've toyed with C# and though it looks easy, I don't see
any major gains over what I already know.


I love Delphi but I would choose Python for simplicity, flexibility and
library (will not mention that it works on AS/400, the best
minicomputer(!) ever made).

But I'm rather guerilla guy and mainstream makes me sick.

(NP: The Pogues - Sally MacLennane)

--
Jarek Zgoda
Unregistered Linux User #-1
http://www.zgoda.biz/ JID:zgoda-a-chrome.pl http://zgoda.jogger.pl/
Jul 18 '05 #7
It's not the RADdish-ness (is that a word?) - drag'n'drop, property
assignment etc - that concerns me, it's the ease of gui building - by
hand is fine (oh how I've come to 'love' Java's layout managers...)

Custom controls is the biggie then. I think I'll have a punt at building
a custom control in wxPython to see if it's even feasible. Anybody want
an arbitrary-angled triangular-wedge button? (My first custom control
in Delphi version 1, all those years back...)

PT wrote:
What worries me is wxPython:
I'm also
unclear as to how easy custom controls are to build.

None of the Python GUI toolkits support making good custom controls as
well as Java and .NET do. TKinter is probably the best Python option
for that. If you are comfortable with Windows programming though,
wxPython will not be too difficult.

Am I just being confused by my newbie-ness, or are my initial concerns
justified? What's anybody else's experiences with gui programming in
wxPython like vs a RAD like Delphi or .NET?

If you want something similar to Delphi or .NET, then you would
probably like QT Designer much better than the wx options. See
BlackAdder (Win, $$) or eric3 (Linux, free):
http://www.thekompany.com/products/blackadder/
http://www.die-offenbachs.de/detlev/eric3.html

If money isn't an issue though, just stick with Visual Studio and C#
and let the other guy do most of the work.


--
James Goldwater
I.T. Consultant
020 8949 7927 (mobile 078 999 55 265)

GPG Key: A2137B98 (pgp.mit.edu)
Jul 18 '05 #8
(will not mention that it works on AS/400, the best
minicomputer(!) ever made).


Why is it the best minicomputer ever made?
I really want to know!
--
Дамјан (jabberID:da*** *@bagra.net.mk)

To boldly go where I surely don't belong.
Jul 18 '05 #9
James Goldwater <ja***@eccehomo .co.uk> writes:
It's not the RADdish-ness (is that a word?) - drag'n'drop, property
assignment etc - that concerns me, it's the ease of gui building - by
hand is fine (oh how I've come to 'love' Java's layout managers...)
I'll make my usual comment, which is that nobody has yet contradicted
me (unusual on USENET ;-) that Qt is the most well-designed Python GUI
framework. (Qt Designer is very good, too.)

And, strangely, the PyQt commercial license is far cheaper than (C++)
Qt. $400 for former (Blackadder, from theKompany.com) , $2500-odd for
the latter!

(before somebody asks: no, you *don't* need both licenses -- only the
cheap one from theKompany, who have an agreement with trolltech)

I believe Blackadder comes with Python-specific docs for PyQt, but
they're actually completely redundant, IMHO -- it's trivial to
translate the C++ docs to Python code, using the list of exceptions
distributed with PyQt. Another BTW: their FAQ page still says
Blackadder is in beta, but I think somebody here mentioned the final
version was actually released some while back (PyQt itself has been
stable for years, of course).

Custom controls is the biggie then. I think I'll have a punt at

[...]

PyQt is certainly good at this.
John
Jul 18 '05 #10

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

Similar topics

7
11905
by: SeeBelow | last post by:
Do many people think that wxPython should replace Tkinter? Is this likely to happen? I ask because I have just started learning Tkinter, and I wonder if I should abandon it in favor of wxPython. Mitchell Timin -- "Many are stubborn in pursuit of the path they have chosen, few in
25
3350
by: BJörn Lindqvist | last post by:
See: http://www.wxpython.org/quotes.php. especially: "wxPython is the best and most mature cross-platform GUI toolkit, given a number of constraints. The only reason wxPython isn't the standard Python GUI toolkit is that Tkinter was there first." - Guido van Rossum Guess, that answers my question, but isn't "Tkinter was there first" a very bad answer? :) It is kinda ugly too, so I wonder why it can't be replaced? Or maybe another GUI...
1
2567
by: timothy.williams | last post by:
I'm trying to install wxPython 2.5.3.1 using Python 2.3.2 on a Fedora 2 machine. I have python in a non-standard place, but I'm using --prefix with the configure script to point to where I have everything. The make install in $WXDIR seemed to go fine. I have the libxw* libraries in my lib/ directory libwx_base-2.5.so@ libwx_gtk_adv-2.5.so.3.0.0* libwx_base-2.5.so.3@ libwx_gtk_core-2.5.so@
1
2981
by: James Stroud | last post by:
Hello All, I will soon have an excuse to install a new operating system on my computer. I would like to know exactly what operating system I should have so that I can get wxPython going. wxPython is my only hold-out on my current system. wxPython seems to need gnome. So I have tried to build garnome and it didn't build all the way..and, well, I've tried so many things trying to get wxPython built that I really don't care to relive the...
25
4278
by: TPJ | last post by:
GUI's etc: PyGtk on Windows "(...) So if someone develops mainly for X and just wants to make sure that it is not impossible to run on Windows, you can use PyGTK. (...)", July 2nd, 1999 pyGTK on Windows "(...) > can i use pyGTK under > Windows???
4
4121
by: tobfon | last post by:
I'm creating a scientific visualization application with rather high demands on performance. I've created a nice rendering engine for it in C++/OpenGL and a python interface to the rendering engine. Now I'm looking to build a GUI in python with the rendering engine as an integrated window. I will most likely use wxPython for the GUI and I know it has support for adding an OpenGL canvas. After looking around in these groups and others it...
0
1657
by: Robin Dunn | last post by:
Announcing ---------- The 2.6.3.0 release of wxPython is now available for download at http://wxpython.org/download.php. There have been many enhancements and fixes implemented in this version, many of which are listed below and at http://wxpython.org/recentchanges.php. What is wxPython?
0
1538
by: Robin Dunn | last post by:
Announcing ---------- The 2.6.3.0 release of wxPython is now available for download at http://wxpython.org/download.php. There have been many enhancements and fixes implemented in this version, many of which are listed below and at http://wxpython.org/recentchanges.php. What is wxPython?
4
2983
by: stef | last post by:
hello, I'm trying to move from Delphi to Python (move from MatLab to Python already succeeded, also thanks to this discussion group). From the discussions in this list about "the best" GUI for Python, it now seems to me that wxPython is thé choice for my kind of applications. I've no experience with wxPython yet, I just run a few examples and indeed it looks good (as expected from the
0
8888
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
8752
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,...
1
9174
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9111
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...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
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();...
1
3221
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
2634
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.