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
really good code.
I read book ''Python Programming on Win32'' ,I get following idea. I
test it.
1. Use wxpython ,it''s successful,but very slow .
2. use python for delphi. I test it, but it need embed python code to
delphi. So need
change original code.Actually I don''t know how to change .it''s big
project.
3. User win32com, make a com server by delphi. com server have form.
make python code
as com client. I make a com server and invoke the server by
pythonwin. but the form
can''t show. :( anyone do it ,could you share you code to world.
4. use pythonwin. mfc or win32gui framework. I check the demo code,
it''s very complex.
you know I hate MFC. it''s a joke. i like VCL so much.
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.
Thanks.
Ulysses
ul********@yahoo.com.cn
解决方案ul********@yahoo.com.cn (ulysses) writes:
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.
An solution is to make a web application and use a tiny browser like
kmeleon.
bye
--
William Dode - http://flibuste.net
ul********@yahoo.com.cn (ulysses) writes:
[...]Python is a really good programming language. But how to do a
small,smart, efficency GUI in win32,it''s a big question.
http://venster.sourceforge.net/
[...] 4. use pythonwin. mfc or win32gui framework. I check the demo code,
it''s very complex. you know I hate MFC. it''s a joke. i like VCL so
much.
Well, if you hate win32 also, then you won''t like venster.
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.
Interesting idea.
John
Wilk writes:
ul********@yahoo.com.cn (ulysses) writes:
[...] An solution is to make a web application and use a tiny browser like
kmeleon.
Or MSIE, possibly using HTA.
John