Python in winIDEA
In this topic:
•Python distributed with winIDEA installation
•Installation of winIDEA SDK for other instances of Python
•winIDEA SDK via Python Package Index (PyPI) server (recommended)
•winIDEA SDK with downloaded installers
Python and winIDEA interact in both directions:
•winIDEA can edit and run Python code, and
•Python programs can control winIDEA via winIDEA SDK.
•winIDEA 9.12 or newer
•Python 3.x, which has not yet reached the end of life
•winIDEA SDK for Python
winIDEA installation bundle includes Python with winIDEA SDK, so no installation of winIDEA SDK is necessary if using this instance of Python. Python distributed with winIDEA installation also includes some modules not provided in standard Python distribution, for example numpy, scipy, etc.
Python interpreter (python.exe) is located in <winIDEA installation directory>/Python.
Avoid installing custom modules, as they may break scripts provided by TASKING. Furthermore, any custom modules added to this instance of Python will be overwritten when a newer winIDEA version is installed. |
Two ways of the installation are possible:
•winIDEA SDK via Python Package Index (PyPI) server (recommended)
•winIDEA SDK with downloaded installers
winIDEA SDK for all active Python versions are available via PyPi server for winIDEA version 9.17 and newer.
To install isystem.connect for Python via PyPI server open command prompt and enter:
python -m pip install isystem.connect==<winIDEA version> |
for example:
python -m pip install isystem.connect==9.21.87 |
If you have problems accessing PyPI server for installation and web page for documentation, then you can download the SDK bundle from:
•From web page or
•Click Help / SDK / Download Python SDK from winIDEA main menu
Download the SDK package and unzip it. It contains Python wheel installers, which can be used in a similar way as PyPI server, for example:
python -m pip install isystem.connect-9.21.90.0-cp310-none-win_amd64.whl |
When upgrading the module, make sure that no Python script using previous version of isystem.connect is running at the time of installation. |