{"version":"1.0","blog_title":"suzuki-navi\u2019s blog","width":"100%","author_name":"suzuki-navi","title":"Python\u306eopenpyxl\u3067Excel\u306e\u4e00\u756a\u4e0b\u306e\u884c\u306b\u8ffd\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuzuki-navi.hatenablog.com%2Fentry%2F2021%2F05%2F25%2F182622\" title=\"Python\u306eopenpyxl\u3067Excel\u306e\u4e00\u756a\u4e0b\u306e\u884c\u306b\u8ffd\u8a18 - suzuki-navi\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","description":"Excel\u306e\u4e00\u756a\u4e0b\u306e\u884c\u306b\u30ec\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u51e6\u7406\u306ePython\u30b3\u30fc\u30c9\u3067\u3059\u3002 openpyxl\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u3044\u307e\u3059\u3002 $ pip install openpyxl Python\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 import openpyxl # \u8868\u306e\u4e00\u756a\u4e0b\u306e\u884c\u306b newRecord \u3092\u66f8\u304d\u8fbc\u3080 # rowIdx, colIdx\u306f\u8868\u306e\u5de6\u4e0a\u306e\u30bb\u30eb\u306e\u4f4d\u7f6e\u3092\u6307\u5b9a (0-based) # \u901a\u5e38\u306f rowIdx = 0, colIdx = 0 \u3067\u3088\u3044 # Excel\u30b7\u30fc\u30c8\u306e1\u884c\u76ee\u304c\u7a7a\u767d\u306b\u306a\u3063\u3066\u3044\u3066\u8868\u304c2\u884c\u76ee\u304b\u3089\u59cb\u307e\u3063\u3066\u3044\u308b\u5834\u5408\u306f rowIdx = 1 \u306b\u3059\u308b def appendExcelRecord(worksheet, \u2026","type":"rich","url":"https://suzuki-navi.hatenablog.com/entry/2021/05/25/182622","blog_url":"https://suzuki-navi.hatenablog.com/","image_url":null,"author_url":"https://blog.hatena.ne.jp/suzuki-navi/","provider_name":"Hatena Blog","published":"2021-05-25 18:26:22","provider_url":"https://hatena.blog","categories":[]}