In embedded environments and other contexts, the sys.stdout stream may
be a custom implementation, and that implementation may not implement
isatty. Check for its existence before use. We ran into this in the case
of ArcGIS Pro which contains embedded Notebooks and uses fastprogress.
In embedded environments and other contexts, the
sys.stdout
stream may be a custom implementation, and that implementation may not implementisatty
. Check for its existence before use. We ran into this in the case of ArcGIS Pro which contains embedded Notebooks and uses fastprogress.