Call function in file from C #9185
Unanswered
danimasa
asked this question in
Using MicroPython
Replies: 1 comment 11 replies
-
This is done essentially the same way it is done from Python. First you need to import the module that contains the function. This could be done, for example, by calling |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
How can I call a function from inside a python file from C?
I'm running
mp_compile
but the return value is a function not a dict, and running the function returns a NoneType.I need to execute a function with a known name from the file.
Beta Was this translation helpful? Give feedback.
All reactions