To disable ANSI color in stdout output on Linux you might use
code of the following form.
var options = new PythonOptions();
options.Initialize(PythonEnvironment.Current, null);
using var rt = PythonEnvironment.Current.GetRuntime();
using var scope = rt.CreateScope();
rt.StdOutWriter = Console.Out;
rt.StdErrWriter = Console.Error;
rt.AutoInitializeRuntime(scope, null);
scope.Exec("import os\nos.environ['NO_COLOR'] = '1'\n");
// ... do work