Search found 1 match

by gshilling
Mon Feb 02, 2015 11:37 pm
Forum: Development of MicroPython
Topic: Calling a python function from C
Replies: 14
Views: 28704

Calling a python function from C

I'm working on embedding micro python into another STM32 C application I have. I would like to be able to call functions in a python script file from the C application. Is there a call like PyObject_GetAttrString from CPython to get a pointer to a function that could then be feed into mp_call_functi...