116
Comment:
|
1998
made PostgreSQL a wiki name
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
There a various tools which make it easier to brisge the gab beetween Python and C: | = C/C++ = There a various tools which make it easier to bridge the gap between Python and C/C++: |
Line 3: | Line 4: |
* SWIG * boost * pyrex |
* [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 * [http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ Pyrex] - write your extension module on Python (!) * [http://cxx.sourceforge.net/ CXX] * [http://starship.python.net/crew/gmcm/scxx.html SCXX] * ["weave"] - include C code lines in Python program [Hint: The idea is to create pages for the stuff, not just link it.] [wiki:Thinki/UsingPythonWithOtherLanguages Much more extensive page on Thinki] ----- [[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.]] = Fortran = * FtwoPy - Fortran to Python Interface Generator (http://cens.ioc.ee/projects/f2py2e/) * PyFort -- The Python-Fortran connection tool (http://pyfortran.sourceforge.net/) = Prolog = * PyLog [http://christophe.delord.free.fr/en/pylog/prolog.html] * bedevere [http://bedevere.sourceforge.net/] See also [http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=Python+prolog] = Java = * ["Jython"] - Python implemented in Java = C#/.NET = [http://www.activestate.com/Corporate/Initiatives/NET/Research.html?_x=1 ActiveState research] = Perl = See http://www.faqts.com/knowledge_base/view.phtml/aid/17202/fid/1102 * PyPerl [http://aspn.activestate.com/ASPN/CodeDoc/pyperl/perlmodule.html] = Other (applications) = * LotusNotes [http://www.dominopower.com/issuesprint/issue200008/command.html] * Eiffel/Haskell [http://epolyglot.sourceforge.net/] * ["PostgreSQL"] [http://www.linuxgazette.com/issue80/nielsen.html] * RenderMan [http://www.lysator.liu.se/~ture/terry.html] to name a few. There are much [http://www.google.com/search?q=Python+binding&hl=en more...] |
C/C++
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
[http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ Pyrex] - write your extension module on Python
- ["weave"] - include C code lines in Python program
[Hint: The idea is to create pages for the stuff, not just link it.]
[wiki:Thinki/UsingPythonWithOtherLanguages Much more extensive page on Thinki]
[[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.]]
Fortran
FtwoPy - Fortran to Python Interface Generator (http://cens.ioc.ee/projects/f2py2e/)
PyFort -- The Python-Fortran connection tool (http://pyfortran.sourceforge.net/)
Prolog
PyLog [http://christophe.delord.free.fr/en/pylog/prolog.html]
bedevere [http://bedevere.sourceforge.net/]
See also [http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=Python+prolog]
Java
- ["Jython"] - Python implemented in Java
C#/.NET
[http://www.activestate.com/Corporate/Initiatives/NET/Research.html?_x=1 ActiveState research]
Perl
See http://www.faqts.com/knowledge_base/view.phtml/aid/17202/fid/1102
Other (applications)
LotusNotes [http://www.dominopower.com/issuesprint/issue200008/command.html]
Eiffel/Haskell [http://epolyglot.sourceforge.net/]
["PostgreSQL"] [http://www.linuxgazette.com/issue80/nielsen.html]
to name a few. There are much [http://www.google.com/search?q=Python+binding&hl=en more...]