[Python.NET] Getting an open Python file handle into CLR
jeff at coderforlife.com
Tue Jul 21 21:31:17 CEST 2015
As I said in my message, you can using IntPtr.Overloads[Int64](handle).
On Tue, Jul 21, 2015 at 11:12 AM, Dan Lenski <dlenski at gmail.com> wrote:
> Ron Harding via PythonDotNet <pythondotnet at ...> writes:
> > perhaps re-directed command line calls for stdin, stdout, stderr in c#
> interacting with python i/o command line calls(although in python it is
> common practice to daisy chain commands).
> Unfortunately, I cannot redirect the output of the C# library to a
> convenient filehandle like stdout/stderr; I need to be specify a
> FileStream object.
> It pretty much comes down to this: how do I cast a win32 file handle to an
> Python.NET mailing list - PythonDotNet at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PythonDotNet