On Wed, 03 Sep 2003 06:32:42 -0700, ulysses wrote:


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. [snip]
5. I have a another idea. use wxWindows (c lan) build a GUI. embed
python code .
or embed wxWindows code to python by SWIG. I have't test it. if you
have do it.
Please tell us.
Swig is how wxPython works already. If you wanted to do the whole gui in
C++, and just have python launch the code, you can do an extension pretty
easily, see my wiki entry here:
(I'm not sure that this will make any difference wrt memory usage though.)

I think that letting C++ "drive" your code will be a significantly greater
time investment, I'm not sure how much of an effort it is to get the
python mainloop and the wxWin mainloop to work together, but since it is
already done for me with wxPython, I don't think I'll go trying to find
out either :-)


Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 16 | next ›
Discussion Overview
grouppython-list @
postedSep 3, '03 at 2:09a
activeSep 5, '03 at 6:17a



site design / logo © 2022 Grokbase