Pythonic: Difference between revisions

Jump to navigation Jump to search
235 bytes added ,  12 August 2016
→‎Features: Update high-level features list to current reality
(reorganize content)
(→‎Features: Update high-level features list to current reality)
Line 3: Line 3:
== Features ==
== Features ==


Features and capabilities of Octave's Python interface may include:
At a high level, the features and capabilities of Octave's Python interface allow a user to:


* Import and call Python modules and functions from the Octave interpreter
* Import and call any Python module or function from the Octave interpreter
* Automatically convert basic Octave and Python types seamlessly between the two environments
* Automatically convert basic Octave and Python types seamlessly between the two operating environments
* Be able to handle arbitrary unknown Python objects (print their repr, store in a variable, pass back in to a Python function)
* Assign any Python object to an Octave variable, view its properties, and invoke methods on it
* Store references to Python functions (and other "callables") and be able to call them as if they were function handles
* Assign any Python function or callable object to an Octave variable, and call it as if it were a function handle
 
Some features that have not yet been implemented may include:
 
* Load and save Python objects to Octave data files using the standard load/save commands
* Operate on Python objects using standard Octave arithmetic and logical operators


== Development ==
== Development ==
296

edits

Navigation menu