I didn't need the Python.h library, what i did is using system() in the sys/ library. I used named pipes for transmitting data between programs.