newbie question

Fredrik Lundh effbot at
Mon Apr 17 18:44:12 CEST 2000

Arint‚ <jamarijr at> wrote:
> If i PyErr_SetString(PyExc_TypeError,"Invalid command value for IOCTL");
> in my c/c++ program, how would python script get that error string?

return NULL to the interpreter.  do *not* return
a python value.

also see:


More information about the Python-list mailing list