{"blog_title":"\u7269\u7406\u306e\u99c5 Physics station by \u73fe\u5f79\u7814\u7a76\u8005","provider_url":"https://hatena.blog","blog_url":"https://phst.hateblo.jp/","provider_name":"Hatena Blog","categories":["Python"],"published":"2021-03-09 20:00:00","author_name":"onsanai","title":"Python\u3067ZIP\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b","url":"https://phst.hateblo.jp/entry/2021/03/09/200000","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphst.hateblo.jp%2Fentry%2F2021%2F03%2F09%2F200000\" title=\"Python\u3067ZIP\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b - \u7269\u7406\u306e\u99c5 Physics station by \u73fe\u5f79\u7814\u7a76\u8005\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"width":"100%","description":"arXiv\u306b\u6295\u7a3f\u3059\u308b\u6642\u3001\u95a2\u9023\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u30d5\u30a1\u30a4\u30eb\u3067\u66f8\u5eab\u5316\u3057\u3066\u304a\u304f\u3068\u697d\u3067\u3042\u308b\u3002\u52d5\u7684\u306bZIP\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308b\u306b\u306fPython\u304c\u624b\u3063\u53d6\u308a\u65e9\u3044\u306e\u3067\u3001\u30b3\u30fc\u30c9\u3092\u4f5c\u3063\u3066\u307f\u305f\u3002 import sys tex_filename = sys.argv[1]+\".tex\" zip_filename = sys.argv[1]+\".zip\" # bib\u3092\u4f7f\u3046\u3068\u304d\u306fbbl\u3082\u5fc5\u8981 import zipfile import re # \u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u30ea\u30b9\u30c8 (\u4f8b: PTEP\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8) files = [tex_filename, sys.argv[1]+\".bib\", sys.argv[1]+\".bbl\", \"\u2026","height":"190","author_url":"https://blog.hatena.ne.jp/onsanai/","version":"1.0"}