API d'interpréteur python en C
Bonjour,
je voudrais savoir si il existe une librairie en C (ou c++) qui implémente un interpréteur python ?
Un truc du genre
Code:
1 2 3 4 5 6
| void Python_Open ( allocator,desallocator ) ;
void Python_Close () ;
BOOL Python_Evaluate ( const char * line ) ;
BOOL Python_ImportFile ( const char * filename ) ;
const char * Python_GetVariable ( const char * name ) ;
BOOL Python_SetVariable ( const char * name , const char * value ) ; |
qui permettrait de piloter un interpréteur python depuis un programme écrit en C.
J'ai déjà cherché un peu mais sans succès...
Merci d'avance