Embedded command (exec_python)¶
What it does: Inserts the entered text directly into the generated Python code.

Inputs¶
command: command/code text.
Output¶
- None (statement block).
When to use it¶
- When you need to add a one-time code that the blocks do not cover.
- Quick debugging experiments.
Tips and pitfalls¶
- Use with care, bypasses standard block validation.
- Embedded code must be syntactically correct Python.
Generated Python example¶
led.on()