Created
December 2, 2025 13:50
-
-
Save koaning/d432c030f0435b0e474165b76e8d1106 to your computer and use it in GitHub Desktop.
demodemo.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /// script | |
| # dependencies = [ | |
| # "marimo>=0.17.0", | |
| # "polars", | |
| # "pyzmq", | |
| # ] | |
| # /// | |
| import marimo | |
| __generated_with = "0.18.1" | |
| app = marimo.App(width="medium") | |
| @app.cell | |
| def _(mo): | |
| mo.md(r""" | |
| ## Hello from VSCode | |
| """) | |
| return | |
| @app.cell | |
| def _(): | |
| import marimo as mo | |
| return (mo,) | |
| @app.cell | |
| def _(mo): | |
| slider = mo.ui.slider(1, 10, 1) | |
| slider | |
| return (slider,) | |
| @app.cell | |
| def _(slider): | |
| slider.value | |
| return | |
| @app.cell | |
| def _(): | |
| return | |
| if __name__ == "__main__": | |
| app.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment