current working directory when python file in subfolder
When I run
uv run marimo edit subfolder/hello.py
and then type
I'll get
without the subfoloder.
Therefore my question: Is there a way to start marimo, so that the python cwd is directly in the subfolder?2 Replies
my current workaround:
you would need to
cd
into the directory. I always use mo.notebook_dir()
in all my notebooks so they are compatible wherever they are run (and when run as a script)