I created a C program and choose to use python as my GUI creator I wrote the python GUI and decided to create a struct
typedef struct GUIcommunicator
{
char action[MAX_SIZE];
char params[MAX_PARAMS][MAX_SIZE];
}GUIcommunicator;
I using this answer I will return the struct from the python receive him in my C code
but I don't know how. And I'd like to some help
(the function that sends the struct (the python code) already got the action and the params as string list )