[IronPython] File as TextReader

Sanghyeon Seo sanxiyn at gmail.com
Tue Dec 18 05:28:51 CET 2007

I wrote a short howto on passing Python's file-like objects to .NET
API expecting TextReader.


1. Does this look okay? It does work.

2. It would be nice if IronPython can provide conversions like these.
Another example would be Python datetime and .NET DateTime. Already
implemented example is constructing Python file from .NET Stream. What
do you think?

Seo Sanghyeon

More information about the Ironpython-users mailing list