How to get the python object from a variable name ?
Andreas Jung
ajung at sz-sb.de
Sat Apr 29 10:31:58 EDT 2000
Inside a C program I need to get a pointer to the python object
for a object or variable by its variable name in the current
namespace of the interpreter. What I want to do ? My programs
gets names of variables and I need to get the str() representation
for given variable/object names as a C (char *). Maybe a stupid
question but I've no idea :)
Merci,
Andreas
More information about the Python-list
mailing list