SWIG and Python in use?
Thorsten Kohnhorst
monsterkodi at gmx.net
Tue Jul 8 08:38:53 EDT 2003
Hello Alan,
I've used SWIG and Python in a game I wrote last year.
Python was used for writing the various levels and some
aspects of the user interface.
It was very easy to export most of my C++ Interfaces to
Python 2.x. I experienced no problems and can highly
recommend using SWIG for scripting and prototyping C++-
applications.
If interested, you may find the sources at:
http://kiki.sourceforge.net
Yours kodi
Alan Sheehan wrote:
> Hi,
>
> I am considering scripting a large C++ application.
>
> In particular I am interested in test driving and end-user scripting
> the "application layer" in Python and giving it access to a large
> collection of C++ objects and their methods.
>
> I note that SWIG is a mature tool and refers to supporting Python
> v1.x.
>
> Has/Does anyone use SWIG to bind with Python 2.x ?.
>
> Does it still work?
> Any pitfalls, caveats ?
>
> Thanks in advance.
>
> Alan
More information about the Python-list
mailing list