Fhernd icon

invocacion-codigo-python.c

Fhernd | PRO | 02/22/18 11:47:40 AM UTC | 0 ⭐ | 2309 👁️ | Never ⏰ | []
C |

140 B

|

None

|

0 👍

/

0 👎

#include "Python.h"
 
void ejecutar_python(const char* codigo){
    
    Py_Initialize();
    
    PyRun_SimpleString(codigo);
    
    Py_Finalize();
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎