Beispiel #1
0
 protected virtual void SetOutput(PythonOutputStream stream)
 {
     Runtime.IO.SetOutput(stream, Encoding.UTF8);
 }
Beispiel #2
0
 protected virtual void SetScriptStream(PythonOutputStream stream)
 {
     _pyStream = stream;
     Runtime.IO.SetInput(_pyStream, Encoding.UTF8);
     Runtime.IO.SetOutput(_pyStream, Encoding.UTF8);
 }