simple python talk to c