|Deletions are marked like this.||Additions are marked like this.|
|Line 39:||Line 39:|
| * PyLog [http://christophe.delord.free.fr/en/pylog/prolog.html]
* bedevere [http://bedevere.sourceforge.net/]
|* PyLog (actually two ''different'' products)|
|Line 42:||Line 41:|
|* bedevere - Python wrapper to GNU Prolog http://bedevere.sourceforge.net/|
There a various tools which make it easier to bridge the gap between Python and C/C++:
[http://www.swig.org/ SWIG] - generate extension module from your .h files
- ["boost.python"] - write (tiny) C++ class to wrap your classes in an extension module
["Pyrex"] - write your extension module on Python
- ["weave"] - include C code lines in Python program
- ["SIP"] - ["Qt"] API wrapper library
[http://starship.python.net/crew/theller/ctypes/ ctypes] is a Python module allowing to create and manipulate C data types in Python. These can then be passed to C-functions loaded from dynamic link libraries.
- ["elmer"] - compile and run python code from C, as if it was written in C
[Hint: The idea is to create pages for the stuff, not just link it.]
[wiki:Thinki/UsingPythonWithOtherLanguages Much more extensive page on Thinki]
Building Hybrid Systems with Boost.Python in [http://www.cuj.com/documents/s=8188/cuj0307abrahams/ C/C++ User Journal]
[http://dales.rmplc.co.uk/Duncan/accu/integratingpython.html Integrating Python, C and C++], presented at the ACCU conference by Duncan Booth, and his [http://dales.rmplc.co.uk/Duncan/accu conference slides]
[[There are also interesting solutions for co-operation between Python and such languages as Tcl, Perl, Fortran, Prolog, and many others. We'll write more on these subjects, in time.]]
["F2PY"] - Fortran to Python Interface Generator (http://cens.ioc.ee/projects/f2py2e/)
[http://www.caddr.com/code/lython/ Lython] - Lisp front-end for Python.
PyLog (actually two different products)
bedevere - Python wrapper to GNU Prolog http://bedevere.sourceforge.net/
- ["Jython"] - Python implemented in Java
[http://zope.org/Members/Brian/PythonNet/ Python for .NET] is a near-seamless integration of the CPython runtime with the .NET Common Language Runtime (CLR).
PyPerlish - Perl idioms in Python
- ["elmer"] - compile and run python code from Tcl, as if it was written in Tcl
[http://mini.net/tcl/1324 Tcl and other languages] - Tcl's equivalent of this page.
[http://www.equi4.com/lux/ Lux] - a mutant Lua emphasizing interoperation with Python, Perl, etc.
CorbaPython: for a generic solution to language integration
to name a few. There are much [http://www.google.com/search?q=Python+binding&hl=en more...]
Other (standards and protocols)
- XMLRPC and SOAP