7 Replies
ah i see i can just actually call it by myself..... and then just load stuff before
can i just import the functions of marimo??
like instead of main i would import edit? i should try that
Sorry, I don't understand the question. Can you elaborate to help our community better answer your question?
well how i can load code before the marimo starts
and one thought i had was directly calling the core functions that you call in the _cli/cli.py
but that doesnt seem to be as easy as i thought, i am rusty in python, didnt made it much for over 10 years beside a bit scripting on blender or unreal, need to get into all that stuff again 😄
but yeah, i must check deeper into the classes to see what you guys call behind that, but would be really sexy if there would be some API exposed
i mean code wise api
Can you just put it in the cell with all the imports at the top above the imports?
i want to integrate the marimo, like something that would also allow the theming to be better abstracted.
can you elaborate? are you trying to udpate the css or include js, or run python? what kind of code?
in my case i want it to run actual code, like i just want to start the notebook as function in my code so that i have a specific base loaded in the notebook that doesnt need to be explicit added.
if i got that ability, then this allows us easily also to make a real theming which allows for everybody to have a different theme on the same notebook, which is of course not like a core idea of the concept but would be very interesting if you put that in the cloud/shared environment concept