{"id":50754,"date":"2025-10-18T16:24:54","date_gmt":"2025-10-18T07:24:54","guid":{"rendered":"https:\/\/techgym.jp\/?p=50754"},"modified":"2025-10-18T16:27:06","modified_gmt":"2025-10-18T07:27:06","slug":"python-excel-2","status":"publish","type":"post","link":"https:\/\/techgym.jp\/column\/python-excel-2\/","title":{"rendered":"Python\u3067Excel\u64cd\u4f5c\u3092\u59cb\u3081\u3088\u3046\uff01\u521d\u5fc3\u8005\u5411\u306b\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac"},"content":{"rendered":"\n<p><iframe loading=\"lazy\" width=\"560\" height=\"314\" src=\"\/\/www.youtube.com\/embed\/7iX9nAJE0cE\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>Excel\u30d5\u30a1\u30a4\u30eb\u3092Python\u3067\u64cd\u4f5c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3001\u3053\u308c\u307e\u3067\u624b\u4f5c\u696d\u3067\u4f55\u6642\u9593\u3082\u304b\u304b\u3063\u3066\u3044\u305f\u696d\u52d9\u304c\u308f\u305a\u304b\u6570\u79d2\u3067\u5b8c\u4e86\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306e\u96c6\u8a08\u3001\u30ec\u30dd\u30fc\u30c8\u4f5c\u6210\u3001\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u62ec\u51e6\u7406\u306a\u3069\u3001Excel\u3092\u4f7f\u3063\u305f\u5b9a\u578b\u696d\u52d9\u306f\u9a5a\u304f\u307b\u3069\u52b9\u7387\u5316\u3067\u304d\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u306e\u65b9\u3067\u3082\u5b89\u5fc3\u3057\u3066Python\u306b\u3088\u308bExcel\u64cd\u4f5c\u3092\u59cb\u3081\u3089\u308c\u308b\u3088\u3046\u3001\u57fa\u790e\u304b\u3089\u4e01\u5be7\u306b\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u96e3\u3057\u3044\u5c02\u9580\u7528\u8a9e\u306f\u3067\u304d\u308b\u3060\u3051\u907f\u3051\u3001\u5b9f\u52d9\u3067\u3059\u3050\u306b\u4f7f\u3048\u308b\u77e5\u8b58\u3092\u4e2d\u5fc3\u306b\u304a\u4f1d\u3048\u3057\u307e\u3059\u3002<\/p>\n<h2>\u306a\u305cPython\u3067Excel\u3092\u64cd\u4f5c\u3059\u308b\u306e\u304b\uff1f<\/h2>\n<h3>\u624b\u4f5c\u696d\u3068\u306e\u6c7a\u5b9a\u7684\u306a\u9055\u3044<\/h3>\n<p>Excel\u3092\u624b\u52d5\u3067\u64cd\u4f5c\u3059\u308b\u5834\u5408\u3001\u540c\u3058\u4f5c\u696d\u3092\u4f55\u5ea6\u3082\u7e70\u308a\u8fd4\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u6bce\u9031\u540c\u3058\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u30ec\u30dd\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u305f\u308a\u3001\u8907\u6570\u306e\u90e8\u7f72\u304b\u3089\u96c6\u307e\u3063\u305fExcel\u30d5\u30a1\u30a4\u30eb\u3092\u7d71\u5408\u3057\u305f\u308a\u3059\u308b\u4f5c\u696d\u306f\u3001\u975e\u5e38\u306b\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>Python\u3067Excel\u64cd\u4f5c\u3092\u81ea\u52d5\u5316\u3059\u308b\u3068\u3001\u4e00\u5ea6\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u3057\u307e\u3048\u3070\u3001\u3042\u3068\u306f\u30dc\u30bf\u30f3\u4e00\u3064\u3067\u540c\u3058\u51e6\u7406\u3092\u4f55\u5ea6\u3067\u3082\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3082\u3001\u4eba\u9593\u304c\u624b\u4f5c\u696d\u3067\u884c\u3046\u3088\u308a\u3082\u6b63\u78ba\u3067\u3001\u30df\u30b9\u304c\u8d77\u3053\u308a\u306b\u304f\u3044\u306e\u3067\u3059\u3002<\/p>\n<h3>\u3053\u3093\u306a\u5834\u9762\u3067\u5a01\u529b\u3092\u767a\u63ee<\/h3>\n<p>Python\u306b\u3088\u308bExcel\u64cd\u4f5c\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5834\u9762\u3067\u7279\u306b\u6709\u52b9\u3067\u3059\u3002\u307e\u305a\u3001\u8907\u6570\u306eExcel\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u3092\u62bd\u51fa\u3057\u3066\u4e00\u3064\u306b\u307e\u3068\u3081\u308b\u4f5c\u696d\u3002\u3053\u308c\u306f\u624b\u4f5c\u696d\u3060\u3068\u975e\u5e38\u306b\u9762\u5012\u3067\u3059\u304c\u3001Python\u306a\u3089\u6570\u5341\u30d5\u30a1\u30a4\u30eb\u3067\u3082\u4e00\u77ac\u3067\u51e6\u7406\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u6bce\u65e5\u30fb\u6bce\u9031\u306e\u30ec\u30dd\u30fc\u30c8\u4f5c\u6210\u696d\u52d9\u3002\u540c\u3058\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u30ec\u30dd\u30fc\u30c8\u3092\u5b9a\u671f\u7684\u306b\u4f5c\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u3001Python\u3067\u81ea\u52d5\u5316\u3059\u308c\u3070\u671d\u4e00\u756a\u306b\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3060\u3051\u3067\u6700\u65b0\u30c7\u30fc\u30bf\u306e\u30ec\u30dd\u30fc\u30c8\u304c\u5b8c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u306b\u5bfe\u3059\u308b\u8a08\u7b97\u3084\u96c6\u8a08\u4f5c\u696d\u3082\u5f97\u610f\u5206\u91ce\u3067\u3059\u3002Excel\u306e\u95a2\u6570\u3067\u306f\u8907\u96d1\u306b\u306a\u308a\u3059\u304e\u308b\u51e6\u7406\u3082\u3001Python\u306a\u3089\u67d4\u8edf\u306b\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u5fc5\u8981\u306a\u6e96\u5099\uff1a\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u9078\u3073\u65b9<\/h2>\n<p>Python\u3067Excel\u3092\u64cd\u4f5c\u3059\u308b\u306b\u306f\u3001\u5c02\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306f\u3001\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u307e\u3068\u3081\u305f\u30c4\u30fc\u30eb\u30bb\u30c3\u30c8\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3001\u3053\u308c\u3092\u4f7f\u3046\u3053\u3068\u3067\u8907\u96d1\u306a\u51e6\u7406\u3082\u7c21\u5358\u306b\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>openpyxl\uff1a\u6700\u3082\u30dd\u30d4\u30e5\u30e9\u30fc\u306a\u9078\u629e\u80a2<\/h3>\n<p>openpyxl\u306f\u3001Python\u3067Excel\u30d5\u30a1\u30a4\u30eb\u3092\u6271\u3046\u969b\u306e\u5b9a\u756a\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002Excel 2010\u4ee5\u964d\u306e\u5f62\u5f0f\uff08.xlsx\u30d5\u30a1\u30a4\u30eb\uff09\u306b\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u3001\u30bb\u30eb\u306e\u8aad\u307f\u66f8\u304d\u3001\u66f8\u5f0f\u8a2d\u5b9a\u3001\u6570\u5f0f\u306e\u6271\u3044\u306a\u3069\u3001\u57fa\u672c\u7684\u306a\u64cd\u4f5c\u306f\u3059\u3079\u3066\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u521d\u5fc3\u8005\u306e\u65b9\u306b\u7279\u306b\u304a\u3059\u3059\u3081\u306a\u7406\u7531\u306f\u3001\u4f7f\u3044\u65b9\u304c\u30b7\u30f3\u30d7\u30eb\u3067\u76f4\u611f\u7684\u3060\u304b\u3089\u3067\u3059\u3002Excel\u306e\u300cA1\u30bb\u30eb\u300d\u300cB2\u30bb\u30eb\u300d\u3068\u3044\u3063\u305f\u8868\u73fe\u304c\u305d\u306e\u307e\u307e\u4f7f\u3048\u308b\u305f\u3081\u3001\u666e\u6bb5Excel\u3092\u4f7f\u3063\u3066\u3044\u308b\u65b9\u306a\u3089\u7406\u89e3\u3057\u3084\u3059\u3044\u8a2d\u8a08\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u975e\u5e38\u306b\u7c21\u5358\u3067\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">pip install openpyxl\n<\/code><\/pre>\n<h3>pandas\uff1a\u30c7\u30fc\u30bf\u5206\u6790\u306b\u5f37\u3044<\/h3>\n<p>pandas\u306f\u3001\u30c7\u30fc\u30bf\u5206\u6790\u306b\u7279\u5316\u3057\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3001Excel\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u66f8\u304d\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u6271\u3046\u5834\u5408\u3084\u3001\u7d71\u8a08\u7684\u306a\u51e6\u7406\u3092\u884c\u3046\u5834\u5408\u306b\u306f\u3001openpyxl\u3088\u308a\u3082pandas\u306e\u65b9\u304c\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>pandas\u306e\u6700\u5927\u306e\u7279\u5fb4\u306f\u3001\u30c7\u30fc\u30bf\u3092\u300cDataFrame\u300d\u3068\u3044\u3046\u8868\u5f62\u5f0f\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u6271\u3048\u308b\u70b9\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u306e\u7d5e\u308a\u8fbc\u307f\u3001\u4e26\u3079\u66ff\u3048\u3001\u96c6\u8a08\u306a\u3069\u304c\u975e\u5e38\u306b\u52b9\u7387\u7684\u306b\u884c\u3048\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001pandas\u306f\u5b66\u7fd2\u30b3\u30b9\u30c8\u304c\u5c11\u3057\u9ad8\u3081\u3067\u3059\u3002\u307e\u305a\u306fopenpyxl\u3067\u57fa\u672c\u3092\u5b66\u3073\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066pandas\u306b\u79fb\u884c\u3059\u308b\u3068\u3044\u3046\u5b66\u7fd2\u30eb\u30fc\u30c8\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n<h3>xlwings\uff1aExcel\u3068\u306e\u9023\u643a\u306b\u7279\u5316<\/h3>\n<p>xlwings\u306f\u3001Python\u3068Excel\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u9023\u643a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002Excel\u3092\u958b\u304d\u306a\u304c\u3089Python\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3001\u305d\u306e\u7d50\u679c\u3092\u3059\u3050\u306bExcel\u4e0a\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001\u65e2\u5b58\u306eExcel\u30de\u30af\u30ed\u3092Python\u3067\u7f6e\u304d\u63db\u3048\u305f\u3044\u5834\u5408\u3084\u3001Excel\u4e0a\u3067Python\u306e\u6a5f\u80fd\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u306b\u4fbf\u5229\u3067\u3059\u3002\u305f\u3060\u3057\u3001Excel\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u74b0\u5883\u3067\u306a\u3044\u3068\u52d5\u4f5c\u3057\u306a\u3044\u305f\u3081\u3001\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u306e\u81ea\u52d5\u51e6\u7406\u306b\u306f\u5411\u304d\u307e\u305b\u3093\u3002<\/p>\n<h2>Excel\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u64cd\u4f5c<\/h2>\n<h3>\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u8aad\u307f\u8fbc\u3080<\/h3>\n<p>Excel\u30d5\u30a1\u30a4\u30eb\u3092Python\u3067\u6271\u3046\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u3053\u3068\u3067\u3059\u3002openpyxl\u3092\u4f7f\u3046\u5834\u5408\u3001\u307e\u305a\u30d5\u30a1\u30a4\u30eb\u5168\u4f53\u3092\u300c\u30ef\u30fc\u30af\u30d6\u30c3\u30af\u300d\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307f\u3001\u305d\u306e\u4e2d\u304b\u3089\u7279\u5b9a\u306e\u300c\u30b7\u30fc\u30c8\u300d\u3092\u9078\u629e\u3057\u3066\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u4ed5\u7d44\u307f\u306f\u3001\u5b9f\u969b\u306eExcel\u306e\u69cb\u9020\u3068\u540c\u3058\u3067\u3059\u3002Excel\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u8907\u6570\u306e\u30b7\u30fc\u30c8\u304c\u542b\u307e\u308c\u3066\u3044\u3066\u3001\u5404\u30b7\u30fc\u30c8\u306e\u4e2d\u306b\u30bb\u30eb\u304c\u3042\u308a\u307e\u3059\u3002Python\u3067\u3082\u540c\u3058\u3088\u3046\u306b\u3001\u30ef\u30fc\u30af\u30d6\u30c3\u30af\u2192\u30b7\u30fc\u30c8\u2192\u30bb\u30eb\u3068\u3044\u3046\u968e\u5c64\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code><code class=\"language-python\">import openpyxl\n\n# Excel\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\nworkbook = openpyxl.load_workbook('sample.xlsx')\n# \u30b7\u30fc\u30c8\u3092\u9078\u629e\nsheet = workbook['Sheet1']\n# \u30bb\u30eb\u306e\u5024\u3092\u53d6\u5f97\nvalue = sheet['A1'].value\nprint(value)<\/code><\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u307e\u305a<code>load_workbook<\/code>\u95a2\u6570\u3067Excel\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002\u6b21\u306b\u3001\u30b7\u30fc\u30c8\u540d\u3092\u6307\u5b9a\u3057\u3066\u30b7\u30fc\u30c8\u3092\u9078\u629e\u3057\u3001\u6700\u5f8c\u306b\u30bb\u30eb\u306e\u5ea7\u6a19\uff08\u3053\u306e\u5834\u5408\u306fA1\uff09\u3092\u6307\u5b9a\u3057\u3066\u5024\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u3080<\/h3>\n<p>Excel\u30d5\u30a1\u30a4\u30eb\u306b\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u3080\u51e6\u7406\u3082\u3001\u8aad\u307f\u8fbc\u307f\u3068\u540c\u69d8\u306b\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002\u30bb\u30eb\u3092\u6307\u5b9a\u3057\u3066\u5024\u3092\u4ee3\u5165\u3057\u3001\u6700\u5f8c\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8\u306f\u3001\u5024\u3092\u5909\u66f4\u3057\u305f\u3060\u3051\u3067\u306f\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u53cd\u6620\u3055\u308c\u306a\u3044\u3068\u3044\u3046\u70b9\u3067\u3059\u3002\u5fc5\u305a<code>save<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u5fd8\u308c\u308b\u3068\u3001\u305b\u3063\u304b\u304f\u66f8\u304d\u8fbc\u3093\u3060\u30c7\u30fc\u30bf\u304c\u6d88\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code><code class=\"language-python\"># \u30bb\u30eb\u306b\u5024\u3092\u66f8\u304d\u8fbc\u3080\nsheet['B2'] = '\u65b0\u3057\u3044\u30c7\u30fc\u30bf'\n# \u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\nworkbook.save('sample.xlsx')\n<\/code><\/code><\/pre>\n<\/div>\n<h3>\u8907\u6570\u306e\u30bb\u30eb\u3092\u4e00\u5ea6\u306b\u51e6\u7406<\/h3>\n<p>\u5b9f\u52d9\u3067\u306f\u3001\u4e00\u3064\u306e\u30bb\u30eb\u3060\u3051\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u306f\u5c11\u306a\u304f\u3001\u8907\u6570\u306e\u30bb\u30eb\u3092\u4e00\u5ea6\u306b\u51e6\u7406\u3059\u308b\u3053\u3068\u304c\u591a\u304f\u306a\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001A\u5217\u306e\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3067\u5408\u8a08\u3092\u8a08\u7b97\u3057\u305f\u308a\u3001B\u5217\u306b\u8a08\u7b97\u7d50\u679c\u3092\u4e00\u62ec\u3067\u66f8\u304d\u8fbc\u3093\u3060\u308a\u3057\u307e\u3059\u3002<\/p>\n<p>openpyxl\u3067\u306f\u3001\u30eb\u30fc\u30d7\u51e6\u7406\u3092\u4f7f\u3063\u3066\u8907\u6570\u306e\u30bb\u30eb\u306b\u9806\u6b21\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u30012\u884c\u76ee\u304b\u308910\u884c\u76ee\u307e\u3067\u306eA\u5217\u306e\u5024\u3092\u8aad\u307f\u8fbc\u3080\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code><code class=\"language-python\">for row in range(2, 11):\n    value = sheet[f'A{row}'].value\n    print(value)\n<\/code><\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u65b9\u6cd5\u306a\u3089\u3001\u4f55\u5343\u884c\u3042\u308b\u30c7\u30fc\u30bf\u3067\u3082\u52b9\u7387\u7684\u306b\u51e6\u7406\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u65b0\u3057\u3044Excel\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n<p>\u65e2\u5b58\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u30bc\u30ed\u304b\u3089\u65b0\u3057\u3044Excel\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u51e6\u7406\u7d50\u679c\u3092\u65b0\u3057\u3044\u30ec\u30dd\u30fc\u30c8\u3068\u3057\u3066\u51fa\u529b\u3057\u305f\u3044\u5834\u5408\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>\u65b0\u898f\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u306f<code>Workbook<\/code>\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u308b\u3060\u3051\u3067\u3059\u3002\u3053\u306e\u3068\u304d\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u300cSheet\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u30b7\u30fc\u30c8\u304c\u4e00\u3064\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30b7\u30fc\u30c8\u540d\u3092\u5909\u66f4\u3057\u305f\u308a\u3001\u65b0\u3057\u3044\u30b7\u30fc\u30c8\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code><code class=\"language-python\"># \u65b0\u3057\u3044\u30ef\u30fc\u30af\u30d6\u30c3\u30af\u3092\u4f5c\u6210\nnew_workbook = openpyxl.Workbook()\n# \u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\nnew_sheet = new_workbook.active\n# \u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u3080\nnew_sheet['A1'] = '\u30bf\u30a4\u30c8\u30eb'\n# \u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\nnew_workbook.save('new_file.xlsx')<\/code><\/code><\/pre>\n<\/div>\n<h2>\u30bb\u30eb\u306e\u66f8\u5f0f\u8a2d\u5b9a<\/h2>\n<p>\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u3080\u3060\u3051\u3067\u306a\u304f\u3001\u30bb\u30eb\u306e\u898b\u305f\u76ee\u3092\u6574\u3048\u308b\u3053\u3068\u3082\u91cd\u8981\u3067\u3059\u3002\u30d5\u30a9\u30f3\u30c8\u306e\u8272\u3084\u30b5\u30a4\u30ba\u3001\u30bb\u30eb\u306e\u80cc\u666f\u8272\u3001\u7f6b\u7dda\u306a\u3069\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u898b\u3084\u3059\u304f\u6574\u7406\u3055\u308c\u305fExcel\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>openpyxl\u3067\u306f\u3001\u30d5\u30a9\u30f3\u30c8\u3001\u5857\u308a\u3064\u3076\u3057\u3001\u7f6b\u7dda\u306a\u3069\u306e\u66f8\u5f0f\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u3001\u30bb\u30eb\u306b\u9069\u7528\u3057\u307e\u3059\u3002\u5c11\u3057\u624b\u9806\u304c\u591a\u304f\u611f\u3058\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u4e00\u5ea6\u899a\u3048\u3066\u3057\u307e\u3048\u3070\u81ea\u7531\u306b\u30c7\u30b6\u30a4\u30f3\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u66f8\u5f0f\u8a2d\u5b9a\u3067\u7279\u306b\u3088\u304f\u4f7f\u3046\u306e\u306f\u3001\u30d8\u30c3\u30c0\u30fc\u884c\u3092\u592a\u5b57\u306b\u3057\u305f\u308a\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3059\u30bb\u30eb\u306b\u8272\u3092\u4ed8\u3051\u305f\u308a\u3059\u308b\u51e6\u7406\u3067\u3059\u3002\u3053\u308c\u3089\u306f\u624b\u4f5c\u696d\u3067\u306f\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u304c\u3001Python\u306a\u3089\u4e00\u77ac\u3067\u5b8c\u4e86\u3057\u307e\u3059\u3002<\/p>\n<h2>\u3088\u304f\u3042\u308b\u8cea\u554f\u3068\u89e3\u6c7a\u65b9\u6cd5<\/h2>\n<h3>Q: \u5927\u304d\u306aExcel\u30d5\u30a1\u30a4\u30eb\u306e\u51e6\u7406\u304c\u9045\u3044<\/h3>\n<p>\u6570\u4e07\u884c\u4ee5\u4e0a\u306e\u30c7\u30fc\u30bf\u3092\u542b\u3080\u5927\u304d\u306aExcel\u30d5\u30a1\u30a4\u30eb\u3092\u51e6\u7406\u3059\u308b\u5834\u5408\u3001openpyxl\u3060\u3068\u6642\u9593\u304c\u304b\u304b\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001openpyxl\u304c\u3059\u3079\u3066\u306e\u30bb\u30eb\u306e\u60c5\u5831\u3092\u8a73\u7d30\u306b\u8aad\u307f\u8fbc\u3080\u305f\u3081\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u306b\u306f\u3001<code>read_only=True<\/code>\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3063\u3066\u8aad\u307f\u8fbc\u307f\u5c02\u7528\u30e2\u30fc\u30c9\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u304b\u3001pandas\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002pandas\u306f\u5927\u91cf\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u306b\u6700\u9069\u5316\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u5727\u5012\u7684\u306b\u9ad8\u901f\u3067\u3059\u3002<\/p>\n<h3>Q: Excel\u306e\u6570\u5f0f\u304c\u6d88\u3048\u3066\u3057\u307e\u3046<\/h3>\n<p>openpyxl\u3067\u30bb\u30eb\u3092\u7de8\u96c6\u3059\u308b\u3068\u3001\u305d\u306e\u30bb\u30eb\u306b\u5165\u3063\u3066\u3044\u305f\u6570\u5f0f\u304c\u6d88\u3048\u3066\u8a08\u7b97\u7d50\u679c\u306e\u5024\u3060\u3051\u304c\u6b8b\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u6570\u5f0f\u3092\u4fdd\u6301\u3057\u305f\u307e\u307e\u5024\u3092\u66f4\u65b0\u3059\u308b\u5834\u5408\u306b\u554f\u984c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6570\u5f0f\u3092\u4fdd\u6301\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u30bb\u30eb\u306b\u76f4\u63a5\u5024\u3092\u4ee3\u5165\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u6570\u5f0f\u306e\u6587\u5b57\u5217\u3092\u4ee3\u5165\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001SUM\u95a2\u6570\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u306f<code>sheet['A10'] = '=SUM(A1:A9)'<\/code>\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<h3>Q: \u65e5\u672c\u8a9e\u304c\u6587\u5b57\u5316\u3051\u3059\u308b<\/h3>\n<p>\u65e5\u672c\u8a9e\u3092\u542b\u3080Excel\u30d5\u30a1\u30a4\u30eb\u3092\u6271\u3046\u969b\u3001\u6587\u5b57\u5316\u3051\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u4e3b\u306b\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306b\u65e5\u672c\u8a9e\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u306b\u8d77\u3053\u308a\u307e\u3059\u3002<\/p>\n<p>\u5bfe\u7b56\u3068\u3057\u3066\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u6271\u3046\u969b\u306bPython\u306e<code>pathlib<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306b\u65e5\u672c\u8a9e\u3092\u4f7f\u308f\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u6709\u52b9\u3067\u3059\u3002<\/p>\n<h2>\u5b9f\u8df5\u7684\u306a\u6d3b\u7528\u4f8b<\/h2>\n<h3>\u6708\u6b21\u30ec\u30dd\u30fc\u30c8\u306e\u81ea\u52d5\u751f\u6210<\/h3>\n<p>\u55b6\u696d\u90e8\u9580\u3067\u306f\u3001\u6bce\u6708\u540c\u3058\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u58f2\u4e0a\u30ec\u30dd\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u3002Python\u3092\u4f7f\u3048\u3070\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u6700\u65b0\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001\u81ea\u52d5\u7684\u306bExcel\u30ec\u30dd\u30fc\u30c8\u3092\u751f\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u3067\u306f\u3001\u307e\u305a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u306a\u308bExcel\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u307e\u3059\u3002\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3092Python\u3067\u8aad\u307f\u8fbc\u307f\u3001\u5fc5\u8981\u306a\u7b87\u6240\u306b\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u3093\u3067\u3044\u304d\u307e\u3059\u3002\u30b0\u30e9\u30d5\u306e\u66f4\u65b0\u3082\u81ea\u52d5\u5316\u3067\u304d\u308b\u305f\u3081\u3001\u5b8c\u5168\u306b\u624b\u3092\u96e2\u3057\u305f\u72b6\u614b\u3067\u30ec\u30dd\u30fc\u30c8\u304c\u5b8c\u6210\u3057\u307e\u3059\u3002<\/p>\n<h3>\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u306e\u7d71\u5408\u51e6\u7406<\/h3>\n<p>\u5404\u90e8\u7f72\u304b\u3089\u63d0\u51fa\u3055\u308c\u305fExcel\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u3064\u306b\u307e\u3068\u3081\u308b\u4f5c\u696d\u306f\u3001\u624b\u4f5c\u696d\u3060\u3068\u975e\u5e38\u306b\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002Python\u306a\u3089\u3001\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u3059\u3079\u3066\u306eExcel\u30d5\u30a1\u30a4\u30eb\u3092\u81ea\u52d5\u7684\u306b\u8aad\u307f\u8fbc\u307f\u3001\u30c7\u30fc\u30bf\u3092\u7d71\u5408\u3057\u3066\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u306b\u51fa\u529b\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u51e6\u7406\u3067\u306f\u3001<code>os<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3084<code>glob<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u3001\u30eb\u30fc\u30d7\u51e6\u7406\u3067\u5404\u30d5\u30a1\u30a4\u30eb\u3092\u9806\u6b21\u8aad\u307f\u8fbc\u3093\u3067\u3044\u304d\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306e\u5f62\u5f0f\u304c\u7d71\u4e00\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u5b8c\u5168\u81ea\u52d5\u5316\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h3>\u30c7\u30fc\u30bf\u30af\u30ec\u30f3\u30b8\u30f3\u30b0<\/h3>\n<p>\u5b9f\u52d9\u3067\u6271\u3046Excel\u30c7\u30fc\u30bf\u306f\u3001\u7a7a\u767d\u30bb\u30eb\u304c\u6df7\u3056\u3063\u3066\u3044\u305f\u308a\u3001\u8868\u8a18\u63fa\u308c\u304c\u3042\u3063\u305f\u308a\u3068\u3001\u305d\u306e\u307e\u307e\u3067\u306f\u4f7f\u3048\u306a\u3044\u3053\u3068\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u3002Python\u3092\u4f7f\u3048\u3070\u3001\u3053\u3046\u3057\u305f\u30c7\u30fc\u30bf\u306e\u30af\u30ea\u30fc\u30cb\u30f3\u30b0\u4f5c\u696d\u3092\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u5168\u89d2\u6570\u5b57\u3092\u534a\u89d2\u306b\u5909\u63db\u3057\u305f\u308a\u3001\u4f59\u5206\u306a\u7a7a\u767d\u3092\u524a\u9664\u3057\u305f\u308a\u3001\u65e5\u4ed8\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u7d71\u4e00\u3057\u305f\u308a\u3068\u3044\u3063\u305f\u51e6\u7406\u3092\u3001\u3059\u3079\u3066\u306e\u30bb\u30eb\u306b\u5bfe\u3057\u3066\u4e00\u62ec\u3067\u9069\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30a8\u30e9\u30fc\u3078\u306e\u5bfe\u51e6\u6cd5<\/h2>\n<p>Python\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u3044\u308b\u3068\u3001\u5fc5\u305a\u30a8\u30e9\u30fc\u306b\u906d\u9047\u3057\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u3088\u304f\u8aad\u3081\u3070\u3001\u307b\u3068\u3093\u3069\u306e\u554f\u984c\u306f\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>FileNotFoundError<\/h3>\n<p>\u3053\u308c\u306f\u3001\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u5834\u5408\u306b\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u3067\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u30b9\u30da\u30eb\u30df\u30b9\u3084\u3001\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u9593\u9055\u3044\u304c\u539f\u56e0\u3067\u3042\u308b\u3053\u3068\u304c\u307b\u3068\u3093\u3069\u3067\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u304c\u6b63\u3057\u3044\u5834\u6240\u306b\u3042\u308b\u304b\u3001\u30d1\u30b9\u306e\u6307\u5b9a\u304c\u6b63\u78ba\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>KeyError<\/h3>\n<p>\u30b7\u30fc\u30c8\u540d\u3084\u30bb\u30eb\u306e\u5ea7\u6a19\u3092\u9593\u9055\u3048\u3066\u6307\u5b9a\u3057\u305f\u5834\u5408\u306b\u767a\u751f\u3057\u307e\u3059\u3002Excel\u30d5\u30a1\u30a4\u30eb\u3092\u5b9f\u969b\u306b\u958b\u3044\u3066\u3001\u30b7\u30fc\u30c8\u540d\u3084\u30bb\u30eb\u306e\u4f4d\u7f6e\u3092\u518d\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>AttributeError<\/h3>\n<p>\u30e1\u30bd\u30c3\u30c9\u3084\u5c5e\u6027\u306e\u547c\u3073\u51fa\u3057\u65b9\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u5834\u5408\u306b\u767a\u751f\u3057\u307e\u3059\u3002\u30bf\u30a4\u30d7\u30df\u30b9\u304c\u306a\u3044\u304b\u3001\u6b63\u3057\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5bfe\u3057\u3066\u64cd\u4f5c\u3092\u884c\u3063\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u5b66\u7fd2\u3092\u9032\u3081\u308b\u305f\u3081\u306e\u30d2\u30f3\u30c8<\/h2>\n<h3>\u307e\u305a\u306f\u5c0f\u3055\u304f\u59cb\u3081\u308b<\/h3>\n<p>\u6700\u521d\u304b\u3089\u8907\u96d1\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u308d\u3046\u3068\u305b\u305a\u3001\u307e\u305a\u306f\u4e00\u3064\u306e\u30bb\u30eb\u3092\u8aad\u307f\u66f8\u304d\u3059\u308b\u7c21\u5358\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u59cb\u3081\u307e\u3057\u3087\u3046\u3002\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u306a\u304c\u3089\u5c11\u3057\u305a\u3064\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304f\u3053\u3068\u3067\u3001\u78ba\u5b9f\u306b\u30b9\u30ad\u30eb\u304c\u8eab\u306b\u3064\u304d\u307e\u3059\u3002<\/p>\n<h3>\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u6d3b\u7528\u3059\u308b<\/h3>\n<p>openpyxl\u3084pandas\u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u306f\u3001\u8c4a\u5bcc\u306a\u4f8b\u3068\u3068\u3082\u306b\u8a73\u3057\u3044\u8aac\u660e\u304c\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u82f1\u8a9e\u304c\u82e6\u624b\u306a\u65b9\u3067\u3082\u3001\u30b3\u30fc\u30c9\u4f8b\u3092\u898b\u308c\u3070\u3042\u308b\u7a0b\u5ea6\u7406\u89e3\u3067\u304d\u307e\u3059\u3002\u308f\u304b\u3089\u306a\u3044\u3053\u3068\u304c\u3042\u3063\u305f\u3089\u3001\u307e\u305a\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u78ba\u8a8d\u3059\u308b\u7fd2\u6163\u3092\u3064\u3051\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u5b9f\u52d9\u306e\u8ab2\u984c\u3092\u984c\u6750\u306b\u3059\u308b<\/h3>\n<p>\u81ea\u5206\u306e\u4ed5\u4e8b\u3067\u5b9f\u969b\u306b\u56f0\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u984c\u6750\u306b\u3059\u308b\u3068\u3001\u5b66\u7fd2\u306e\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u304c\u7dad\u6301\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u300c\u3053\u306e\u4f5c\u696d\u3092\u81ea\u52d5\u5316\u3067\u304d\u306a\u3044\u304b\u300d\u3068\u3044\u3046\u8996\u70b9\u3067\u65e5\u3005\u306e\u696d\u52d9\u3092\u898b\u76f4\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Python\u306b\u3088\u308bExcel\u64cd\u4f5c\u306f\u3001\u6700\u521d\u306f\u96e3\u3057\u304f\u611f\u3058\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u57fa\u672c\u3092\u62bc\u3055\u3048\u308c\u3070\u8ab0\u3067\u3082\u30de\u30b9\u30bf\u30fc\u3067\u304d\u307e\u3059\u3002openpyxl\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3048\u3070\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u66f8\u304d\u3001\u30c7\u30fc\u30bf\u306e\u7de8\u96c6\u3001\u66f8\u5f0f\u8a2d\u5b9a\u306a\u3069\u3001Excel\u3067\u3067\u304d\u308b\u3053\u3068\u306e\u307b\u3068\u3093\u3069\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f\u57fa\u672c\u7684\u306a\u64cd\u4f5c\u3092\u5b9f\u8df5\u3057\u306a\u304c\u3089\u3001\u5f90\u3005\u306b\u8907\u96d1\u306a\u51e6\u7406\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u3066\u3044\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u6700\u521d\u306f\u6642\u9593\u304c\u304b\u304b\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u4e00\u5ea6\u81ea\u52d5\u5316\u3057\u3066\u3057\u307e\u3048\u3070\u3001\u305d\u306e\u5f8c\u306f\u4f55\u5ea6\u3067\u3082\u518d\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u304b\u3089\u696d\u52d9\u52b9\u7387\u5316\u306b\u53d6\u308a\u7d44\u3080\u65b9\u3001\u30c7\u30fc\u30bf\u51e6\u7406\u306e\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u305f\u3044\u65b9\u306f\u3001\u305c\u3072Python\u3067\u306eExcel\u64cd\u4f5c\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u304d\u3063\u3068\u65b0\u3057\u3044\u53ef\u80fd\u6027\u304c\u958b\u3051\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u25a0<a href=\"https:\/\/amzn.to\/3VxGkpx\">\u3089\u304f\u3089\u304fPython\u587e &#8211; \u8aad\u3080\u3060\u3051\u3067\u30de\u30b9\u30bf\u30fc<\/a><\/h2>\n\n\n\n<p><iframe loading=\"lazy\" width=\"560\" height=\"314\" src=\"\/\/www.youtube.com\/embed\/7iX9nAJE0cE\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n\n\n\n<p>\u25a0\u521d\u5fc3\u8005\u6b53\u8fce\u300cAI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\u300d\u306f\u3058\u3081\u307e\u3057\u305f\uff01<\/p>\n\n\n\n<p>\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821\u3067\u5148\u884c\u958b\u59cb\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"vCBuig8MER\"><a href=\"https:\/\/techgym.jp\/about\/ai-driven-development\/\">AI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\uff08\u521d\u5fc3\u8005\u5411\u3051\uff09<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;AI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\uff08\u521d\u5fc3\u8005\u5411\u3051\uff09&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/about\/ai-driven-development\/embed\/#?secret=fr9rglewht#?secret=vCBuig8MER\" data-secret=\"vCBuig8MER\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u25a0\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821<\/p>\n\n\n\n<p>\u683c\u5b89\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3068\u3044\u3048\u3070\u300c\u30c6\u30c3\u30af\u30b8\u30e0\u300d\u3002<br>\u8b1b\u7fa9\u52d5\u753b\u306a\u3057\u3001\u6559\u79d1\u66f8\u306a\u3057\u3002\u300c\u9032\u6357\u7ba1\u7406\u3068\u30b3\u30fc\u30c1\u30f3\u30b0\u300d\u3067\u52b9\u7387\u5b66\u7fd2\u3002<br>\u5bfe\u9762\u578b\u3067\u3088\u308a\u65e9\u304f\u30b9\u30ad\u30eb\u7372\u5f97\u3001\u6708\u984d2\u4e07\u5186\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"Qjqsl5lPl5\"><a href=\"https:\/\/techgym.jp\/tokyo\/tokyo_honko\/\">\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/tokyo\/tokyo_honko\/embed\/#?secret=XEIvWnf5uo#?secret=Qjqsl5lPl5\" data-secret=\"Qjqsl5lPl5\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u77ed\u671f\u8b1b\u7fd2\uff1e5\u65e5\u30675\u4e07\u5186\u306e\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u958b\u50ac\u4e2d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"rySkM0hwdw\"><a href=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/\">\u3010\u6700\u901f\u30fb\u78ba\u5b9f\u3011\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u653b\u7565\u300c\u6c38\u7530\u753aPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u30105\u65e5\u9593\u30675\u4e07\u5186\u3011<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u3010\u6700\u901f\u30fb\u78ba\u5b9f\u3011\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u653b\u7565\u300c\u6c38\u7530\u753aPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u30105\u65e5\u9593\u30675\u4e07\u5186\u3011&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/embed\/#?secret=jWTecamamu#?secret=rySkM0hwdw\" data-secret=\"rySkM0hwdw\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u30aa\u30f3\u30e9\u30a4\u30f3\u7121\u6599\uff1e\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"BGBz6wy9q5\"><a href=\"https:\/\/techgym.jp\/tokyo_python\/\">\u3010\u7121\u6599\u30fb\u30aa\u30f3\u30e9\u30a4\u30f3\u3011\u30bc\u30ed\u304b\u3089\u306f\u3058\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u3010\u7121\u6599\u30fb\u30aa\u30f3\u30e9\u30a4\u30f3\u3011\u30bc\u30ed\u304b\u3089\u306f\u3058\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/tokyo_python\/embed\/#?secret=ORZZDoorLA#?secret=BGBz6wy9q5\" data-secret=\"BGBz6wy9q5\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b Excel\u30d5\u30a1\u30a4\u30eb\u3092Python\u3067\u64cd\u4f5c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3001\u3053\u308c\u307e\u3067\u624b\u4f5c\u696d\u3067\u4f55\u6642\u9593\u3082\u304b\u304b\u3063\u3066\u3044\u305f\u696d\u52d9\u304c\u308f\u305a\u304b\u6570\u79d2\u3067\u5b8c\u4e86\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306e\u96c6\u8a08\u3001\u30ec\u30dd\u30fc\u30c8\u4f5c\u6210\u3001\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u62ec\u51e6\u7406\u306a\u3069\u3001Excel\u3092\u4f7f\u3063\u305f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":48980,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-50754","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column"],"views":37,"jetpack_featured_media_url":"\/wp-content\/uploads\/2025\/10\/ea57fbf4d572bf7d1d94d3bdf7eb3486.jpg","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/50754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/comments?post=50754"}],"version-history":[{"count":0,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/50754\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media\/48980"}],"wp:attachment":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media?parent=50754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/categories?post=50754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/tags?post=50754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}