Class PythonPipe
- Namespace
- SearchAThing.Sci
- Assembly
- netcore-sci.dll
Helper to invoke python and retrieve results.
public class PythonPipe : IDisposable
- Inheritance
-
PythonPipe
- Implements
- Inherited Members
Constructors
PythonPipe(PythonPipeOptions?)
public PythonPipe(PythonPipeOptions? options = null)
Parameters
options
PythonPipeOptions
Fields
areInit
public AutoResetEvent areInit
Field Value
Properties
Options
public PythonPipeOptions Options { get; }
Property Value
Methods
Dispose()
public void Dispose()
Exec(IEnumerable<string>)
exec given code lines
public Task<string> Exec(IEnumerable<string> code_lines)
Parameters
code_lines
IEnumerable<string>
Returns
Exec(string)
exec given code ( can contains newlines as read from a file ). Actually only one execution per PythonPipe object is allowed.
public Task<string> Exec(string code)
Parameters
code
string