{"blog_title":"petitviolet_blog","author_name":"petitviolet","version":"1.0","published":"2011-09-25 00:38:17","type":"rich","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/petitviolet/","url":"https://petitviolet.hatenablog.com/entry/20110925/1316965097","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpetitviolet.hatenablog.com%2Fentry%2F20110925%2F1316965097\" title=\"zipfile\u306e\u4f7f\u3044\u65b9 - petitviolet_blog\" 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,"description":"python challenge\u3067zipfile\u3092\u4f7f\u3046\u3053\u3068\u304c\u3042\u3063\u305f\u306e\u3067. \u307e\u305a\u306f import zipfile\u3067\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b. ZipFile\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6271\u3044 \u6271\u3046\u5bfe\u8c61\u3092channel.zip\u3068\u3059\u308b.(python challenge\u3088\u308a) s_zip = zipfile.ZipFile(\"channel.zip\", \"r\")\u3067zip\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u6271\u3048\u308b\u3088\u3046\u306b\u306a\u308b. # channel.zip\u5185\u306b\u3069\u3093\u306a\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u304b\u3092\u8abf\u3079\u308b\u306b\u306f s_zip.namelist()\u305d\u3057\u3066,channnel.zip\u5185\u306e\u30d5\u30a1\u30a4\u30eb29.txt\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3059\u308b. \u30a2\u30fc\u30ab\u30a4\u30d6\u5185\u306e\u30d5\u30a1\u30a4\u30eb(\u3053\u3053\u3067\u306f29.t\u2026","categories":["python","\u5099\u5fd8\u9332"],"width":"100%","title":"zipfile\u306e\u4f7f\u3044\u65b9","height":"190","blog_url":"https://petitviolet.hatenablog.com/"}