I tried to build a list of dictionaries using embedded Python2.5
in the following way to append dictionaries to a list.
Py_Object *pList = PyList_New(0);
for (i=0; iMAXSIZE; i++) {
Py_Object *pDict = PyDict_New();
//
// build this dictionary of keys values
//
if (pDict !=
in embedded Python
En Thu, 08 Mar 2007 22:26:59 -0300, ZiZi Zhao [EMAIL PROTECTED] escribió:
I tried to build a list of dictionaries using embedded Python2.5
in the following way to append dictionaries to a list.
Py_Object *pList = PyList_New(0);
for (i=0; iMAXSIZE; i++) {
Py_Object *pDict