Getty
Getty•2w ago

i want to run code before marimo

how can i do that?
3 Replies
Getty
GettyOP•2w ago
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
Akshay
Akshay•7d ago
Sorry, I don't understand the question. Can you elaborate to help our community better answer your question?
Getty
GettyOP•7d ago
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