Pythonの標準出力系情報
◇Python Tips: 標準出力の出力先がターミナルかそれ以外かによって処理を切り替えたい - Life with Python
https://www.lifewithpython.com/2018/01/python-change-output-by-standard-output-type.html
◇Python: 処理状況をコンソールに出力しよう - Qiita
https://qiita.com/keisuke0508/items/ea68e4dfd3043cc49957