bundle .py when compiling possible? #3980
Unanswered
frederik-uni
asked this question in
Q&A
Replies: 0 comments 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
is there a way to bundle the python code into the binary. Maybe already parsed. The docs only describe how to import the code at runtime. I doubt it would be that hard to bundle a python project into a single file and store it as a lit & then execute that lit. Already parsing the python code at compile time wouldnt be that hard either. The question is if there is a possibility to do that.
https://docs.modular.com/mojo/manual/python/
Beta Was this translation helpful? Give feedback.
All reactions