Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

295 B
Raw Blame

Capture console outputs

You can capture console outputs with marimo utility functions. Learn more in the API reference.

/// marimo-embed-file size: xlarge mode: edit filepath: examples/outputs/capture_console_outputs.py ///