[C++-sig] python file object and std::istream / std::ifstream

Dr. Johannes Zellner johannes at zellner.org
Mon Jul 9 21:35:59 CEST 2007


Hi,

I'd like to make a c++ method

void read(std::istream& in)
{
}

available for in python so that I can pass python file objects.
How would I do that?

-- 
Dr. Johannes Zellner <johannes at zellner.org>



More information about the Cplusplus-sig mailing list