cppy3
cppy3 copied to clipboard
would you add more examples
great work! There are plenty of awsome functions in the repo. It would be better to add more useful examples to show how to use these built-in functions to embed python in c/c++ in real application, such as how to import python module, access module method, access python class, use numpy to do math, etc. Thanks!
also found a bug, in the cppy3.hpp, the declared function is "void appendToSysPath(const std::liststd::wstring& paths)", but in the cppy3.cpp, the defined is ""void appendToSysPath(const std::vectorstd::wstring& paths)
Thanks, appendToSysPath() is fixed in https://github.com/reefactor/cppy3/commit/7b54404143daea2de0195b1e3624535b695fd61a
Example contributed in https://github.com/reefactor/cppy3/pull/2
More examples are welcome