<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toohsk</author_name>
  <author_url>https://blog.hatena.ne.jp/toohsk/</author_url>
  <blog_title>toohskの日記</blog_title>
  <blog_url>https://toohsk.hateblo.jp/</blog_url>
  <categories>
    <anon>忘備録</anon>
    <anon>Python</anon>
  </categories>
  <description>Jenkinsで実行ログをリアルタイムで確認したい Jenkis ではジョブの実行ログをリアルタイムに確認することができる。 しかし、 （ Python ではスクリプト言語のため）、処理を高速化するために標準出力をバッファしてまとめて出力する。 なので、 Jenkins でジョブの動作を確認する場合、まとまった単位で標準出力のログが出力される。 毎日、定時に実行するようば定例バッチの場合はそれでもいいが、 開発途中の場合、リアルタイムにログがみたい場合があると思う。 そのような場合の忘備録を残す。 Pythonでリアルタイムに標準出力するには Pythonでは使うバージョンによって、即時標準出…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoohsk.hateblo.jp%2Fentry%2F2018%2F11%2F19%2F182006&quot; title=&quot;Python で標準出力をリアルタイムに出力する方法 - toohskの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-19 18:20:06</published>
  <title>Python で標準出力をリアルタイムに出力する方法</title>
  <type>rich</type>
  <url>https://toohsk.hateblo.jp/entry/2018/11/19/182006</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
