python use the c code!