I've got an application that embeds the Python interpreter. I have the following command in my code: PyRun_SimpleString("a = \"hello\""); My question is, what is the C API function call for retrieving the value of the variable "a"?