How do I debug embedded python code?

Cesar Lopez clopez at abo.fi
Mon Mar 20 19:34:48 CET 2000


I have to call a python module from a C program, and I don´t know how to
debug this python code.

main
{

......

 co = (PyCodeObject *)v;
 v = PyEval_EvalCode(co, d, d);



}

Where co it is a buffer with the python code of a python program:

test.py

import led
led.Setup(1)




More information about the Python-list mailing list