executingAdvanced Examples

Get the currently executing AST node (used by rich tracebacks)

Advanced executing techniques

Advanced usage and configuration of executing.

python
# Install: pip install executing
import executing

# Advanced executing configuration and usage
print("executing advanced patterns")

These advanced techniques unlock the full power of executing.

Want to try these examples interactively?

Open Advanced Playground