Bonjour,
je voudrais savoir si il existe une librairie en C (ou c++) qui implémente un interpréteur python ?
Un truc du genrequi permettrait de piloter un interpréteur python depuis un programme écrit en C.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 ) ;
J'ai déjà cherché un peu mais sans succès...
Merci d'avance
Partager