-
Hello, not sure if blind or misunderstanding something, but I fail when trying to export a marimo notebook that imports a python file with some extra functions to html-wasm. Project layout:
In the marimo notebook If I convert now to html-wasm and then try to use the generated stuff $ marimo export html-wasm marimo_nb.py -o build_marimo --mode run
$ cd build_marimo
$ python -m http.server I get an
Is this an error on my side (I mean I can also add the helpfunctions into the marimo notebook but it clutters things up) or should marimo export those functions (according to the documentation "The exported HTML file will run your notebook using WebAssembly, making it completely self-contained and executable in the browser.") |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
hey @q-wertz - we should update our documentation, but it only packages your notebook.py and does not traverse for other files in your directory. this is something we could potentially support in future, but for now you can:
|
Beta Was this translation helpful? Give feedback.
hey @q-wertz - we should update our documentation, but it only packages your notebook.py and does not traverse for other files in your directory. this is something we could potentially support in future, but for now you can: