PyObject* what_doYouDo(PyObject* self, PyObject* args, PyObject* kw){ const char* jobs = NULL; static char* argnames[] = {"jobs", NULL}; if(!PyArg_ParseTupleAndKeywords(args, kw, "|s", argnames, &jobs)) return NULL; doYouDo(jobs); return Py_BuildValue(""); }