| 47 | == Python example == |
| 48 | The code for the Python example is contained in {{{src/python/examples}}}. |
| 49 | |
| 50 | Simple Python:: |
| 51 | An example Python implementation of a submodel that sends and receives data to itself. To install the Python module, go to the {{{build/}}} directory, and run |
| 52 | {{{ |
| 53 | cmake -DBUILD_PYTHON=ON .. |
| 54 | make install |
| 55 | }}} |
| 56 | After that, and running {{{source $MUSCLE_HOME/etc/muscle.profile}}}, you can try it out by starting python, and running {{{import muscle}}} and {{{help(muscle)}}} |
| 57 | |