PySL is a package that makes S-Lang functions and variables accessible via Python. It allows any S-Lang data type to move from S-Lang to Python scope and back (using numarray to provide the Python-side equivalent of S-Lang arrays). It also lets the user call any intrinsic or user-defined S-Lang function (including those defined by imported modules) from Python. All of this can be achieved by using a simple, module-like interface.
Since a major motivation for writing PySL was to let Python users take advantage of the S-Lang packages and modules developed for use with CIAO, the examples below focus on CIAO-related applications. For more general examples, see the PySL documentation.
· Python (>=2.2.2)
· S-Lang (>=1.4.9; however, S-Lang 2 is not yet supported)
· numarray (>=1.0)