MFC application and Python

Doug Holton insert at spam.here
Wed May 19 00:40:53 EDT 2004


Adal Chiriliuc wrote:
> 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
> stuff) and people say buggy. PythonWin is nice and small, but lacks
> some features, like GDI support.

If you're already coding in C++, and think wxPython is too bloated, and 
you were prepared to use pythonwin (win32gui) if only it had more 
features, then I'd say stick with C++, it's not much more difficult than 
using win32gui and will allow you to make your application as fast and 
lightweight as you like.
But if you seriously want to switch to Python, then I'd reconsider 
wxpython.  It is the best python GUI toolkit for your specific purposes 
I think.  It isn't buggy.



More information about the Python-list mailing list