Skip to content

Code Execution

Iury O. G. Figueiredo edited this page Feb 19, 2026 · 2 revisions

It is possible to drop Python code to be executed along the editor execution. Such a feature is often used to change Escs state in some regard or perform text operations.

In order to execute code just press in Main mode.

<Alt-semicolon>

It will display an input box where it is possible to insert code to be executed after pressing return key.

Try executing the code below.

print('Hi from Escs.')

In order to check the output just press the key below in Main mode.

<Alt-q>

The keystroke above will display a text window where it shows the output from stdout. There are other means to log stdout.

Create a pane on the vertical that is used to log stdout.

<Control-n>

Create a pane on the horizontal to log stdout.

<Control-m>

Both keystrokes work in Main mode. Once panes are created through those keystrokes whatever is written to stdout it will be also printed on these created panes.

Clone this wiki locally