<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>posturan</author_name>
  <author_url>https://blog.hatena.ne.jp/posturan/</author_url>
  <blog_title>Oboe吹きプログラマの黙示録</blog_title>
  <blog_url>https://oboe2uran.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>Python</anon>
  </categories>
  <description>先日書いた中の Python 標準出力→Ｊａｖａ受け取りは、 Javaからプロセス起動で実行するPython と文字列の受け渡し - Oboe吹きプログラマの黙示録 リストを長い正規表現で解析する方法でこれでは、ちょっと効率が悪そうで 汚いコードである。 b' ' などとPython に出力させるのでなく、いっそのこと Base64 エンコードさせたリストを出力させて Java で読み込んだ方が スマートで安全だ。Python 側、util ディレクトリに配置する stdio.py は次のようにする。 # -*- coding: UTF-8 -*- from base64 import b64…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foboe2uran.hatenablog.com%2Fentry%2F2019%2F07%2F17%2F213233&quot; title=&quot;Python 標準出力→Ｊａｖａ受け取り - Oboe吹きプログラマの黙示録&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>2019-07-17 21:32:33</published>
  <title>Python 標準出力→Ｊａｖａ受け取り</title>
  <type>rich</type>
  <url>https://oboe2uran.hatenablog.com/entry/2019/07/17/213233</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
