Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.227

Navigation: » No topics above this level «

Scroll Prev Top Next More

Python in winIDEA

In this topic:

Requirements

Python distributed with winIDEA installation

Installation of isystem.connect for other instances of Python

isystem.connect via Python Package Index (PyPI) server (recommended)

isystem.connect 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 isystem.connect module.

 

 

Requirements

winIDEA 9.12 or newer

Python 3.x, which has not yet reached the end of life

isystem.connect for Python

 

 

Python distributed with winIDEA installation

winIDEA installation bundle includes Python with isystem.connect SDK, so no installation of isystem.connect 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.

 

Warning_orange

Avoid installing custom modules, as they may break scripts provided by iSYSTEM. Furthermore, any custom modules added to this instance of Python will be overwritten when a newer winIDEA version is installed.

 

 

Installation of isystem.connect for other instances of Python

Two ways of the installation are possible:

isystem.connect via Python Package Index (PyPI) server (recommended)

isystem.connect SDK with downloaded installers

 

 

isystem.connect via Python Package Index (PyPI) server (recommended)

isystem.connect SDKs 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

 

 

isystem.connect SDK with downloaded installers

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

 

Warning_orange

When upgrading the module, make sure that no Python script using previous version of isystem.connect is running at the time of installation.

 

 

About isystem.connect

isystem.connect module gives you full control over your target:

Target execution control

Breakpoint management

Reading/writing from/to target memory

Document handling

Workspace management

Modification of winIDEA options

Trace

Profiling

Coverage

Testing interface

HIL interface

 

i-icon

For more information refer to online API documentation with examples.

 

Copyright © 2024 TASKING Germany GmbH