cppy3 icon indicating copy to clipboard operation
cppy3 copied to clipboard

would you add more examples

Open GallonDeng opened this issue 6 years ago • 1 comments

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!

GallonDeng avatar Jun 21 '19 08:06 GallonDeng

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)

GallonDeng avatar Jun 21 '19 10:06 GallonDeng

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

reefactor avatar Dec 07 '23 20:12 reefactor