Added output_pyerr to python error output