Is there an easy way to convert an IronPython file-like object to a
.NET Stream? The reverse can be done in IronPython using like this:

net_stream = File.OpenRead('file.txt')
python_file = file(net_stream)

I wonder if there is an easy way of doing the reverse? Or do you have
to write a wrapper that will inherit from Stream and implement all the
methods?
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to