<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>merrywhite</author_name>
  <author_url>https://blog.hatena.ne.jp/merrywhite/</author_url>
  <blog_title>CAFE BREAK</blog_title>
  <blog_url>https://cafebreak.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>テストで必要になったのでPython3で空ファイルを作成するスクリプトを探していたのですが、githubに公開されていて、想定通り動作しました。 empyfile.pyというスクリプトがダウンロードできますし、作成したファイルに使用したい場合は以下がコードです。 with open(&quot;test.txt&quot;,&quot;w&quot;):pass 単純に「test.txt」という空のファイルを作成するだけですが、実データでのテストができなかったので、使用させてもらいました。 その他、簡単なテストでも使えそうですし、参考になりました。 インフラエンジニアなのでプログラムは苦手意識がありましたが、少しずつ使いこなせるよう…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcafebreak.hatenablog.com%2Fentry%2F2024%2F01%2F29%2F082827&quot; title=&quot;Python3で空ファイルを作成するスクリプト テストに使用 - CAFE BREAK&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>https://m.media-amazon.com/images/I/41qcpStJttL._SS160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-01-29 08:28:27</published>
  <title>Python3で空ファイルを作成するスクリプト テストに使用</title>
  <type>rich</type>
  <url>https://cafebreak.hatenablog.com/entry/2024/01/29/082827</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
