simple C and python