OMPython is a Python interface that uses CORBA (omniORB) to communicate with OpenModelica.
- omniORB is required to be installed including Python support (the omniidl command needs to be on the PATH)
- Python 2.7 is required (omniORB restriction). Download python from http://www.python.org/download/
- pip is recommended
Fast way (using pip):
- pip install git+git://github.com/OpenModelica/OMPython.git
Manual installation:
- Add python to your PATH.
- Start command prompt/terminal and execute command "python setup.py install". This will add OMPython to the python 3rd party libraries.
import OMPython
help(OMPython)
Adeel, [email protected] Anand, [email protected]