porting vc++ project to python?

Diez B. Roggisch deets at nospam.web.de
Thu Aug 23 03:02:38 EDT 2007


marco Starglider schrieb:
> hi,
> 
> i have a very large project in visual studio2005->visual c++ in windowsxp.
> i'd like to port it, or my next project,  over to python.
> is this possible without rewriting all my code?
> are there multiple options to do this?
> my project is so large, that entirely rewriting it
> is actually no option.
> 
> regards,
> 
> m
> 
> ps i guess, it's an option to transform my current code into one or more
> python extensions/modules, and then calling them from a python core
> module?

It is. I personally prefer SIP, which is a C++ wrapper generator used to 
wrap the Qt toolkit. But there are other options as well, e.g. SWIG and 
Boost::Python.

Diez



More information about the Python-list mailing list