Using Python Functions from C