<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>MasaHero</author_name>
  <author_url>https://blog.hatena.ne.jp/MasaHero/</author_url>
  <blog_title>MasaHero’s blog</blog_title>
  <blog_url>https://masahero.hatenablog.jp/</blog_url>
  <categories>
    <anon>PC</anon>
    <anon>Python</anon>
  </categories>
  <description>tkFileDialog.openfilenamesで複数ファイル選択をした際、Pythonなんだから当然リストで返ってくるものだと思ったら、スペース区切りの単一文字列を返された。 tclの文法を引きずってるみたいで、要素中にスペースが含まれると&quot;{}&quot;で囲われる。しかしながら&quot;{}&quot;のエスケープとかしないみたいでファイル名が&quot;hogehoge {hoge hoge&quot;でも&quot;{hogehoge {hoge hoge}&quot;としてくるので単純に処理できない。 でラッパを作ってみた。 def askopenfilenames(*args, **kargs): &quot;&quot;&quot;tkFileDialog.askope…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasahero.hatenablog.jp%2Fentry%2F20100116%2Fp1&quot; title=&quot;tkFileDialogで複数ファイル選択 - MasaHero’s blog&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>2010-01-16 00:00:00</published>
  <title>tkFileDialogで複数ファイル選択</title>
  <type>rich</type>
  <url>https://masahero.hatenablog.jp/entry/20100116/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
