How can I share constants between Python and C++?

Revisiting this idea and when I get to googling it my same old thread is the thing at the top of the screen.

Well, unless someone else jumps up and hollers that they already have the code for this, I’m about to go on and write something in python that can read my shared constants .h file and make me a dictionary of all the #define terms.

I’ll share once I get it to work.