Re: newbie question: retrieving values of variables through C API

2007-05-17 Thread Gabriel Genellina
En Thu, 17 May 2007 16:37:53 -0300, <[EMAIL PROTECTED]> escribió: > 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 t

newbie question: retrieving values of variables through C API

2007-05-17 Thread joshusdog
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"? -- http://mail.python.org/mailman/listinfo/python-list