Is it possible to interoperate with a C++ iostream and python? I'm us开发者_StackOverflowing boost-python and want to wrap a function that has istream and ostream as arguments.
Is http://cci.lbl.gov/cctbx_sources/boost_adaptbx/python_streambuf.h what you are looking for? It comes from the Phenix project.
(license information at http://cci.lbl.gov/cctbx_sources/boost_adaptbx/LICENSE_2_0.txt)
精彩评论