{"id":98706,"date":"2022-03-12T15:29:41","date_gmt":"2022-03-12T07:29:41","guid":{"rendered":"http:\/\/www.zhushiyao.com\/?p=98706"},"modified":"2022-03-12T15:30:21","modified_gmt":"2022-03-12T07:30:21","slug":"53807e3e6a","status":"publish","type":"post","link":"http:\/\/www.zhushiyao.com\/?p=98706","title":{"rendered":"\u7528 Python \u5728 Excel \u4e2d\u753b\u753b"},"content":{"rendered":"<div class=\"bpp-post-content\" style=\"text-align: left;\">\n<section style=\"padding-right: 10px; padding-left: 10px; line-height: 1.6; word-break: break-word; text-align: left; font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; font-size: 15px; letter-spacing: 0.05em; color: #595959;\"><span style=\"color: black; font-size: 16px; letter-spacing: 0.05em;\">\u5341\u5b57\u7ee3\u5927\u5bb6\u90fd\u77e5\u9053\u5427\uff0c\u4eca\u5929\u54b1\u4eec\u6765\u73a9\u4e2a\u7535\u5b50\u7248\u7684\u5341\u5b57\u7ee3\u3002<\/span><\/p>\n<p style=\"font-size: 16px; padding-top: 8px; padding-bottom: 8px; line-height: 26px; color: black; margin: 1em 4px;\">\u7528 Python \u8bfb\u53d6\u56fe\u7247\u7684\u50cf\u7d20\u503c\uff0c\u7136\u540e\u8f93\u51fa\u5230 Excel \u8868\u683c\u4e2d\uff0c\u6700\u7ec8\u5f62\u6210\u4e00\u5e45\u50cf\u7d20\u753b\uff0c\u4e5f\u5c31\u662f\u7535\u5b50\u7248\u7684\u5341\u5b57\u7ee3\u4e86\u3002<\/p>\n<h2 style=\"line-height: 32px; color: #35b378; display: inline-block; border-bottom: 0px solid #35b378; border-top-color: #35b378; border-right-color: #35b378; border-left-color: #35b378; font-size: 23px; margin-top: 1em; margin-bottom: 0rem; padding-top: 0.5em; padding-bottom: 0.5em; font-weight: bold;\">\u51c6\u5907<\/h2>\n<p style=\"font-size: 16px; padding-top: 8px; padding-bottom: 8px; line-height: 26px; color: black; margin: 1em 4px;\">\u65e2\u7136\u8981\u8bfb\u53d6\u56fe\u7247\uff0c\u90a3\u5c31\u9700\u8981\u7528\u5230 Pillow \u5e93\uff0c\u64cd\u4f5c Excel \u9700\u8981\u7528\u5230 openpyxl \u5e93\uff0c\u5148\u628a\u8fd9\u4e24\u4e2a\u5e93\u5b89\u88c5\u597d\u3002<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><code style=\"overflow-x: auto; padding: 16px; color: #ddd; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #272822; border-radius: 5px;\"><\/code><\/pre>\n<pre><\/pre>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><code style=\"overflow-x: auto; padding: 16px; color: #ddd; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #272822; border-radius: 5px;\">nbsp;pip3\u00a0install\u00a0openpyxl\n<\/code><\/pre>\n<pre><\/pre>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><code style=\"overflow-x: auto; padding: 16px; color: #ddd; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #272822; border-radius: 5px;\">nbsp;pip3\u00a0install\u00a0Pillow\n<\/code><\/pre>\n<h2 style=\"line-height: 32px; color: #35b378; display: inline-block; border-bottom: 0px solid #35b378; border-top-color: #35b378; border-right-color: #35b378; border-left-color: #35b378; font-size: 23px; margin-top: 1em; margin-bottom: 0rem; padding-top: 0.5em; padding-bottom: 0.5em; font-weight: bold;\">\u8272\u503c\u8f6c\u6362<\/h2>\n<p style=\"font-size: 16px; padding-top: 8px; padding-bottom: 8px; line-height: 26px; color: black; margin: 1em 4px;\">\u4ece\u56fe\u7247\u8bfb\u53d6\u7684\u50cf\u7d20\u5757\u8272\u503c\u662f RGB \u503c\uff0c\u800c openpyxl \u5411 Excel cell \u5185\u586b\u5145\u989c\u8272\u662f\u5341\u516d\u8fdb\u5236\u8272\u503c\uff0c\u56e0\u6b64\u54b1\u4eec\u5148\u5199\u4e00\u4e2a RGB \u548c\u5341\u516d\u8fdb\u5236\u8272\u503c\u8f6c\u6362\u7684\u4e00\u4e2a\u51fd\u6570\u3002<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><code style=\"overflow-x: auto; padding: 16px; color: #ddd; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #272822; border-radius: 5px;\"><span style=\"line-height: 26px;\"><span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">def<\/span>\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">rgb_to_hex<\/span><span style=\"line-height: 26px;\">(rgb)<\/span>:<\/span>\n\u00a0\u00a0\u00a0\u00a0rgb\u00a0=\u00a0rgb.split(<span style=\"color: #a6e22e; line-height: 26px;\">','<\/span>)\n\u00a0\u00a0\u00a0\u00a0color\u00a0=\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">''<\/span>\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">for<\/span>\u00a0i\u00a0<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">in<\/span>\u00a0RGB:\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0num\u00a0=\u00a0int(i)\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0color\u00a0+=\u00a0str(hex(num))[<span style=\"line-height: 26px;\">-2<\/span>:].replace(<span style=\"color: #a6e22e; line-height: 26px;\">'x'<\/span>,\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'0'<\/span>).upper()\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">return<\/span>\u00a0color\n<\/code><\/pre>\n<h2 style=\"line-height: 32px; color: #35b378; display: inline-block; border-bottom: 0px solid #35b378; border-top-color: #35b378; border-right-color: #35b378; border-left-color: #35b378; font-size: 23px; margin-top: 1em; margin-bottom: 0rem; padding-top: 0.5em; padding-bottom: 0.5em; font-weight: bold;\">\u56fe\u7247\u8f6c\u6362<\/h2>\n<p style=\"font-size: 16px; padding-top: 8px; padding-bottom: 8px; line-height: 26px; color: black; margin: 1em 4px;\">\u6709\u4e86\u8272\u503c\u8f6c\u6362\u51fd\u6570\uff0c\u63a5\u4e0b\u6765\u8981\u505a\u7684\u64cd\u4f5c\u5c31\u662f\u9010\u884c\u8bfb\u53d6\u56fe\u7247\u7684 RGB \u8272\u503c\uff0c\u4e4b\u540e\u5c06 RGB \u8272\u503c\u8f6c\u6362\u4e3a\u5341\u516d\u8fdb\u5236\u8272\u503c\u586b\u5145\u5230 Excel \u7684 cell \u4e2d\u5373\u53ef\u3002<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><code style=\"overflow-x: auto; padding: 16px; color: #ddd; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #272822; border-radius: 5px;\"><span style=\"line-height: 26px;\"><span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">def<\/span>\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">img2excel<\/span><span style=\"line-height: 26px;\">(img_path,\u00a0excel_path)<\/span>:<\/span>\n\u00a0\u00a0\u00a0\u00a0img_src\u00a0=\u00a0Image.open(img_path)\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #75715e; line-height: 26px;\">#\u00a0\u56fe\u7247\u5bbd\u9ad8<\/span>\n\u00a0\u00a0\u00a0\u00a0img_width\u00a0=\u00a0img_src.size[<span style=\"line-height: 26px;\">0<\/span>]\n\u00a0\u00a0\u00a0\u00a0img_height\u00a0=\u00a0img_src.size[<span style=\"line-height: 26px;\">1<\/span>]\n\n\u00a0\u00a0\u00a0\u00a0str_strlist\u00a0=\u00a0img_src.load()\n\u00a0\u00a0\u00a0\u00a0wb\u00a0=\u00a0openpyxl.Workbook()\n\u00a0\u00a0\u00a0\u00a0wb.save(excel_path)\n\u00a0\u00a0\u00a0\u00a0wb\u00a0=\u00a0openpyxl.load_workbook(excel_path)\n\u00a0\u00a0\u00a0\u00a0cell_width,\u00a0cell_height\u00a0=\u00a0<span style=\"line-height: 26px;\">1.0<\/span>,\u00a0<span style=\"line-height: 26px;\">1.0<\/span>\n\n\u00a0\u00a0\u00a0\u00a0sheet\u00a0=\u00a0wb[<span style=\"color: #a6e22e; line-height: 26px;\">\"Sheet\"<\/span>]\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">for<\/span>\u00a0w\u00a0<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">in<\/span>\u00a0range(img_width):\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">for<\/span>\u00a0h\u00a0<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">in<\/span>\u00a0range(img_height):\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0data\u00a0=\u00a0str_strlist[w,\u00a0h]\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0color\u00a0=\u00a0str(data).replace(<span style=\"color: #a6e22e; line-height: 26px;\">\"(\"<\/span>,\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"\"<\/span>).replace(<span style=\"color: #a6e22e; line-height: 26px;\">\")\"<\/span>,\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"\"<\/span>)\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0color\u00a0=\u00a0rgb_to_hex(color)\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #75715e; line-height: 26px;\">#\u00a0\u8bbe\u7f6e\u586b\u5145\u989c\u8272\u4e3a\u00a0color<\/span>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0fille\u00a0=\u00a0PatternFill(<span style=\"color: #a6e22e; line-height: 26px;\">\"solid\"<\/span>,\u00a0fgColor=color)\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0sheet.cell(h\u00a0+\u00a0<span style=\"line-height: 26px;\">1<\/span>,\u00a0w\u00a0+\u00a0<span style=\"line-height: 26px;\">1<\/span>).fill\u00a0=\u00a0fille\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">for<\/span>\u00a0i\u00a0<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">in<\/span>\u00a0range(<span style=\"line-height: 26px;\">1<\/span>,\u00a0sheet.max_row\u00a0+\u00a0<span style=\"line-height: 26px;\">1<\/span>):\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0sheet.row_dimensions[i].height\u00a0=\u00a0cell_height\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">for<\/span>\u00a0i\u00a0<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">in<\/span>\u00a0range(<span style=\"line-height: 26px;\">1<\/span>,\u00a0sheet.max_column\u00a0+\u00a0<span style=\"line-height: 26px;\">1<\/span>):\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0sheet.column_dimensions[get_column_letter(i)].width\u00a0=\u00a0cell_width\n\u00a0\u00a0\u00a0\u00a0wb.save(excel_path)\n\u00a0\u00a0\u00a0\u00a0img_src.close()\n<\/code><\/pre>\n<p style=\"font-size: 16px; padding-top: 8px; padding-bottom: 8px; line-height: 26px; color: black; margin: 1em 4px;\">\u6700\u540e\u518d\u6765\u4e2a\u5165\u53e3\u51fd\u6570\uff0c\u5c31\u5927\u529f\u544a\u6210\u5566\uff5e<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><code style=\"overflow-x: auto; padding: 16px; color: #ddd; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #272822; border-radius: 5px;\"><span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">if<\/span>\u00a0__name__\u00a0==\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'__main__'<\/span>:\n\u00a0\u00a0\u00a0\u00a0img_path\u00a0=\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'\/Users\/xyz\/Documents\/tmp\/03.png'<\/span>\n\u00a0\u00a0\u00a0\u00a0excel_path\u00a0=\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'\/Users\/xyz\/Documents\/tmp\/3.xlsx'<\/span>\n\u00a0\u00a0\u00a0\u00a0img2excel(img_path,\u00a0excel_path)\n<\/code><\/pre>\n<h2 style=\"line-height: 32px; color: #35b378; display: inline-block; border-bottom: 0px solid #35b378; border-top-color: #35b378; border-right-color: #35b378; border-left-color: #35b378; font-size: 23px; margin-top: 1em; margin-bottom: 0rem; padding-top: 0.5em; padding-bottom: 0.5em; font-weight: bold;\">\u60ca\u8273\u65f6\u523b<\/h2>\n<p style=\"font-size: 16px; padding-top: 8px; padding-bottom: 8px; line-height: 26px; color: black; margin: 1em 4px;\">\u6fc0\u52a8\u7684\u5fc3\uff0c\u98a4\u6296\u7684\u624b\uff0c\u6765\u770b\u4e0b\u6700\u7ec8\u6548\u679c\u548b\u6837\u3002<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" title=\"\u795e\u64cd\u4f5c\uff01\u5c45\u7136\u6709\u4eba\u7528 Python \u5728 Excel \u4e2d\u753b\u753b\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2022\/03\/10-1647070181.png\" alt=\"\u795e\u64cd\u4f5c\uff01\u5c45\u7136\u6709\u4eba\u7528 Python \u5728 Excel \u4e2d\u753b\u753b\" \/><\/p>\n<p style=\"font-size: 16px; padding-top: 8px; padding-bottom: 8px; line-height: 26px; color: black; margin: 1em 4px;\">\u662f\u4e0d\u662f\u89c9\u5f97\u6709\u90a3\u4e48\u4e00\u4e1d\u4e1d\u97f5\u5473\u5462&#8230;<\/p>\n<h2 style=\"line-height: 32px; color: #35b378; display: inline-block; border-bottom: 0px solid #35b378; border-top-color: #35b378; border-right-color: #35b378; border-left-color: #35b378; font-size: 23px; margin-top: 1em; margin-bottom: 0rem; padding-top: 0.5em; padding-bottom: 0.5em; font-weight: bold;\">\u603b\u7ed3<\/h2>\n<p style=\"font-size: 16px; padding-top: 8px; padding-bottom: 8px; line-height: 26px; color: black; margin: 1em 4px;\">\u4eca\u5929\u6d3e\u68ee\u9171\u5e26\u5927\u5bb6\u4e00\u8d77\u5b9e\u73b0\u4e86 Excel \u50cf\u7d20\u753b\uff0c\u5c0f\u4f19\u4f34\u4eec\u53ef\u4ee5\u53d1\u6325\u81ea\u5df1\u7684\u60f3\u8c61\uff0c\u6bd4\u5982\u628a\u5973\u795e\u7684\u5934\u50cf\u85cf\u8fdb Excel \u4e2d\u7136\u540e\u53d1\u5979\uff0c\u4f60\u731c\u5973\u795e\u4f1a\u4e0d\u4f1a\u88ab\u60ca\u8273\u5230\u5462\u3002<\/p>\n<p style=\"font-size: 16px; padding-top: 8px; padding-bottom: 8px; line-height: 26px; color: black; margin: 1em 4px;\">\u5bf9\u6b64\u4f60\u8fd8\u6709\u4ec0\u4e48\u597d\u73a9\u7684\u60f3\u6cd5\uff0c\u53ef\u4ee5\u5728\u8bc4\u8bba\u533a\u548c\u5176\u4ed6\u5c0f\u4f19\u4f34\u4e00\u8d77\u4ea4\u6d41\u54e6\uff5e<\/p>\n<section style=\"padding-right: 10px; padding-left: 10px; white-space: normal; text-align: start; background-color: #ffffff; max-width: 100%; box-sizing: border-box; line-height: 2; overflow-wrap: break-word !important;\">\n<section>\n<figure style=\"outline: 0px; max-width: 100%; letter-spacing: 0.544px; text-align: center; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"outline: 0px; max-width: 100%; text-align: justify; box-sizing: border-box !important; overflow-wrap: break-word !important;\">&#8212; EOF &#8212;<\/span><\/figure>\n<figure style=\"outline: 0px; max-width: 100%; letter-spacing: 0.544px; text-align: center; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u8f6c\u81ea\uff1ahttps:\/\/mp.weixin.qq.com\/s\/Ct-mWlX5W3RwZJf8uCXQbw<\/figure>\n<section style=\"outline: 0px; max-width: 100%; letter-spacing: 0.544px; color: #353535; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; font-size: 16px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; color: #000000; font-size: 16px; font-variant-numeric: normal; letter-spacing: 0.544px; text-align: center; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; letter-spacing: 0.544px; color: #595959; font-size: 15px; text-align: left; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; font-variant-numeric: normal; letter-spacing: 0.544px; color: #3e3e3e; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif; font-size: 16px; word-spacing: 2px; widows: 1; line-height: 27.2px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"outline: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 10px; margin-bottom: 10px; outline: 0px; max-width: 100%; text-align: center; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"padding-right: 1em; padding-left: 1em; outline: 0px; max-width: 100%; display: inline-block; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"white-space: normal;\">\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5341\u5b57\u7ee3\u5927\u5bb6\u90fd\u77e5\u9053\u5427\uff0c\u4eca\u5929\u54b1\u4eec\u6765\u73a9\u4e2a\u7535\u5b50\u7248\u7684\u5341\u5b57\u7ee3\u3002 \u7528 Python \u8bfb\u53d6\u56fe\u7247\u7684\u50cf\u7d20\u503c\uff0c\u7136\u540e\u8f93\u51fa\u5230 Excel &hellip; <a href=\"http:\/\/www.zhushiyao.com\/?p=98706\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u7528 Python \u5728 Excel \u4e2d\u753b\u753b\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[8],"_links":{"self":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/98706"}],"collection":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=98706"}],"version-history":[{"count":2,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/98706\/revisions"}],"predecessor-version":[{"id":98710,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/98706\/revisions\/98710"}],"wp:attachment":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=98706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=98706"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=98706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}