[IronPython] 2.0B1 Hosting: Creating Python Types

Jeff Hardy jdhardy at gmail.com
Wed Mar 19 01:29:02 CET 2008


Hi Dino,

> Until then probably the only way to do it right now is to call __builtin__.file through Python code (to which you can pass in a stream).  The ObjectOperations class should make that fairly easy (you can convert file to a delegate and then call it).

I get the gist of this, but I can't figure out how to get a reference
to __builtins__.file to call. What's the easiest way to get one?

Thanks,
Jeff



More information about the Ironpython-users mailing list