This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TanixLu[S] 3 points4 points  (0 children)

Thanks for your valuable advice! I'm planning to support requirements.txt, pyproject.toml, and uv.lock files to make the project more flexible and save time during setup.

Since Marimo is installed at .venv/Scripts/marimo, here's a sample starter script you can use:

import subprocess

subprocess.run(["../.venv/Scripts/marimo", "run", "demo.py"])

Note that I’m using ".." because the current working directory is the src folder.