Read Python Dictionary Using C++



There are many C++/Python bindings. It boils down to what you use to communicate between C++ and python to read python dictionaries in c++. Most of these libraries(like Boost) handle the parsing themselves. You could use an intermediate data transfer format like JSON or XML to pass data between the 2 languages and then serialize and deserialize data using the respective libraries in these languages for these formats.

Updated on: 2019-07-30T22:30:22+05:30

467 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements