Python 言語 言語機能 関数¶ はじめに¶ 本サイトにつきまして、【IT技術の知見】はじめに - 俺の技術ノート をご認識のほど宜しくお願いいたします。 01. 関数¶ print¶ Python では、print() 関数の結果を即時に出力するわけではない。 flush を有効化すると、即時に出力できる。 print("foo", flush=True) https://stackoverflow.com/questions/230751/how-can-i-flush-the-output-of-the-print-function Python の Print文 で Flushする方法