list of dictionary in embedded Python

2007-03-08 Thread ZiZi Zhao
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 !=

RE: list of dictionary in embedded Python

2007-03-13 Thread ZiZi Zhao
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