I know that, given a name of a variable, I can do: PyObject *result = PyDict_GetItemString(globals, varname); how do I do the converse -- given a PyObject, get its associated variable name? thanks, --Randy