Installation for Scripting: Python

Navigation:  Toolboxes > Scripting Toolbox > Scripting in Python >

Installation for Scripting: Python

Previous pageReturn to chapter overviewNext page

What is Python

Python is a general-purpose high-level programming language with an emphasis on code readability and writing algorithms in fewer lines of code than other programming languages. Python is open-source and managed by the Python Software Foundation. It has an extensive standard library and can be extended with many external libraries including a rapidly growing set of scientific and mathematical libraries such as SciPy, NumPy and Sympy and an extensive plotting library Matplotlib. 20-sim scripting has been tested with the following versions of Python: Python 2.7.x, Python 3.4.x-3.7.x (32-bit and 64-bit).

Installation

During installation of 20-sim, you are asked to install the (optional) Python 3.7 package. We advise to keep the default setting (Yes) which will install the Python 3.7 installation that includes 20-sim scripting support and the following packages: NumPy, Matplotlib, Sympy, Pandas and IPython. This installation provides just enough support to get started with 20-sim scripting. However, it does not provide a development IDE or an extensive set of scientific and mathematical libraries.