[IronPython] Creating Python file from .NET stream with Python file mode

2006-03-22 Thread Sanghyeon Seo
I now installed Windows, and tried to run SimpleHTTPServer as I did with Mono. While doing that I found a problem. Currently there is no way to specify Python file mode, especially binary mode, when creating Python file object from .NET stream. I solved this by adding following method, below "pub

Re: [IronPython] Creating Python file from .NET stream

2006-03-13 Thread Haibo Luo
filestream) { Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dino Viehland Sent: Monday, March 13, 2006 9:03 AM To: Discussion of IronPython Subject: Re: [IronPython] Creating Python file from .NET stream You should be able to do: >>> impo

Re: [IronPython] Creating Python file from .NET stream

2006-03-13 Thread Dino Viehland
o help develop Dynamic languages on CLR? (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Sunday, March 12, 2006 11:30 PM To: Discussion of IronPy

[IronPython] Creating Python file from .NET stream

2006-03-12 Thread Sanghyeon Seo
Beta 4 changelogs have: "Support for constructing Python file from .NET Stream" But I still can't figure out how to do this. Any example will be greatly appreciated. For example, how do I create Python file from NetworkStream? Seo Sanghyeon ___ users

Re: [IronPython] Creating Python file from .NET stream?

2006-02-04 Thread Martin Maly
artin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Thursday, February 02, 2006 2:04 AM To: Discussion of IronPython Subject: [IronPython] Creating Python file from .NET stream? Is it possible to create Python file from .NET stream? IronP

[IronPython] Creating Python file from .NET stream?

2006-02-02 Thread Sanghyeon Seo
Is it possible to create Python file from .NET stream? IronPython/Runtime/PythonFile.cs seems to have code to do this, but I couldn't find a way to call this from Python side. Seo Sanghyeon ___ users mailing list users@lists.ironpython.com http://lists.