I am learning how to run Python through C++ and I'm having a hard time getting a handle on things. Is there a way to output the code that is generated by the various PyObjects? I'm not very experienced with embedding, so the documentation went a bit over my head.
1 Answer
No, the PyObjects don't generate code -- it is just a c struct that holds the information of that particular Python object. You can inspect them in your C++ debugger.
I'm experienced with py embedding. The docs seem clear. Don't really get what your problem is.
1 Comment
user1610810
Thanks, I just needed clarification about what the PyObjects did. I hope my question didn't seem trite.