Advanced Functionality

Navigation:  Toolboxes > Scripting Toolbox > Scripting in Python >

Advanced Functionality

Previous pageReturn to chapter overviewNext page

Python Distributions

When you need more functionality or prefer to use an IDE with syntax highlighting and debugging support, it is strongly advised to install one of the following external Python distributions or IDEs:

PyZo: a free and open-source Python distribution that comes with many scientific packages and the powerful IEP IDE.
Spyder: the Scientific PYthon Development EnviRonment with a powerful IDE for the Python language with advanced editing, interactive testing, debugging and introspection features and a a numerical computing environment based on SciPy, NumPy, Matplotlib and IPython.
Python, extended with the Visual Studio IDE and Python Tools for Visual Studio.

Running 20-sim scripts in Python distributions

To add the 20-sim scripting support to your Python distribution, you can use the Python pip command (installed by default since Python 2.7.10 and 3.4.x) to install the Controllab package.

 

1.Open a Windows command prompt (cmd.exe) and type:

 

cd YOUR_PYTHON_INSTALLATION_DIR\

python -m pip install --no-cache-dir --upgrade "C:\Program Files (x86)\20-sim 4.6\Scripting\Python\whl\controllab-1.0.0-py2.py3-none-any.whl"

 

Note: use C:\Program Files\20-sim 4.6\ on 32-bit Windows systems.

 

PythonPipInstallControllab

Manual installation of the Controllab package in Python