Answer the question
In order to leave comments, you need to log in
How to recompile python to mingw?
Good day, I have a task to run the following python code from C:
#include <stdio.h>
#include <Python.h>
int main() {
Py_Initialize();
PyRun_SimpleString("print('Hello!')");
Py_Finalize();
}
Answer the question
In order to leave comments, you need to log in
because python itself is built on a different compilerno.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question