<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>onsanai</author_name>
  <author_url>https://blog.hatena.ne.jp/onsanai/</author_url>
  <blog_title>物理の駅 Physics station by 現役研究者</blog_title>
  <blog_url>https://phst.hateblo.jp/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>arXivに投稿する時、関連するファイルをZIPファイルで書庫化しておくと楽である。動的にZIPファイルを作るにはPythonが手っ取り早いので、コードを作ってみた。 import sys tex_filename = sys.argv[1]+&quot;.tex&quot; zip_filename = sys.argv[1]+&quot;.zip&quot; # bibを使うときはbblも必要 import zipfile import re # 必要なファイルリスト (例: PTEPのフォーマット) files = [tex_filename, sys.argv[1]+&quot;.bib&quot;, sys.argv[1]+&quot;.bbl&quot;, &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphst.hateblo.jp%2Fentry%2F2021%2F03%2F09%2F200000&quot; title=&quot;PythonでZIPファイルを作成する - 物理の駅 Physics station by 現役研究者&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>2021-03-09 20:00:00</published>
  <title>PythonでZIPファイルを作成する</title>
  <type>rich</type>
  <url>https://phst.hateblo.jp/entry/2021/03/09/200000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
