[C++-sig] Re: Accessing instances of C++ objects in Python - Plus more

Mike Gonzales mgonzale at digipen.edu
Fri Apr 2 19:34:24 CEST 2004

Thank you for your input - I am incorporating it to make my code neater and
more precise.  Anyway, I guess my question devolves to this: How do I
access a C++ variable from python, and what steps do I need to take?  The
most obvious hack that I thought of was to try and manually insert the
python-wrapped C++ variable into the main module's namespace dictionary; Is
there a better way than that?

Thanks for your time and patience,

More information about the Cplusplus-sig mailing list