<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>doloopwhile</author_name>
  <author_url>https://blog.hatena.ne.jp/doloopwhile/</author_url>
  <blog_title>None is None is None</blog_title>
  <blog_url>https://doloopwhile.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>glob.glob()で得られるファイル名の順番は、名前順ではないことに注意。001.jpg, ... , 100.jpgの画像フォルダ内をglob.glob()して得たリストの順番は名前順ではない。list.sort()すればいいけれど。 peroonの日記 しかし、list.sort()すると、1.jpg, 10.jpg, 11.jpg, ... 2.jpg となる事に注意。 WinXP以降のように、数字を認識してソートするには、一手間必要です。 まず、Pythonクックブックの、正規表現を使って自力で書く方法。 OSを気にせず使えます。 alist &amp;#061; [&quot;{0}.jpg&quot;.f…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdoloopwhile.hatenablog.com%2Fentry%2F20090830%2F1275174939&quot; title=&quot;名前順でソート（ＸＰスタイル） - None is None is None&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>2009-08-30 08:15:39</published>
  <title>名前順でソート（ＸＰスタイル）</title>
  <type>rich</type>
  <url>https://doloopwhile.hatenablog.com/entry/20090830/1275174939</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
