Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12542
| Date | 2011-09-01 07:16 +0530 |
|---|---|
| From | mrinalini@edss.co.in |
| Subject | Help required accessing dictionary |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.642.1314843015.27778.python-list@python.org> (permalink) |
Hi I need to access the dictionary of the script that I am running through my vc++ application by embedding python. I am linking to python dynamically. I want to obtain the dictionary of the script and access the variables declared in the script. However, with the PyObject * that I get from the dictionary, I am not able to find the type of the object. The reason being that GetProcAddress to PyInt_Check returns a NULL. The same thing with PyFloat_Check and so on. I think this is because they are macros and not exported functions. What can be done to be able to perform these checks without statically linking to the pyhon lib ? Thanks, Abhaya
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Help required accessing dictionary mrinalini@edss.co.in - 2011-09-01 07:16 +0530
csiph-web