Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Pythonika. Enabling Python scripting within Mathematica
Author

Ero Carrera Ventura
Organization: Sabre Security GmbH
Revision date

2006-12-11
Description

Pythonika is a MathLink module that allows to write and evaluate Python code from within Mathematica Notebooks.

Pythonika automatically translates all basic types from Mathematica into Python and back. Python expressions returning complex, integer or long numbers, strings, lists, tuples, sets or dictionaries will evaluate into the corresponding objects in Mathematica. Dictionaries are returned as list of lists containing key/value pairs.

It's also possible to define Mathematica functions which are just Python code where all the conversion of the arguments is done transparently. It's not even necessary to tell how many arguments the Python function is taking!! Pythonika is clever enough to figure it out.
Subjects

*Mathematica Technology > Installation > Systems and Installation > All Platforms
*Mathematica Technology > Linking Technology > MathLink
*Mathematica Technology > Programming
Keywords

Python, Mathematica, MathLink, Scripting, Programming
URL

http://dkbza.org/pythonika.html
Downloads

Download
pythonika-1.0.tar.gz (680.9 KB) - GZIP archive
Download
pythonika-1.0.zip (684.8 KB) - ZIP archive