{"id":1079217,"date":"2025-01-08T12:18:45","date_gmt":"2025-01-08T04:18:45","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1079217.html"},"modified":"2025-01-08T12:18:45","modified_gmt":"2025-01-08T04:18:45","slug":"%e5%a6%82%e4%bd%95%e6%8a%8avba%e5%ae%8f%e8%bd%ac%e6%8d%a2%e4%b8%bapython%e4%bb%a3%e7%a0%81-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1079217.html","title":{"rendered":"\u5982\u4f55\u628avba\u5b8f\u8f6c\u6362\u4e3apython\u4ee3\u7801"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24182347\/bb09e7d5-a809-4413-97b1-aaaac36fa7df.webp\" alt=\"\u5982\u4f55\u628avba\u5b8f\u8f6c\u6362\u4e3apython\u4ee3\u7801\" \/><\/p>\n<p><p> <strong>\u5c06VBA\u5b8f\u8f6c\u6362\u4e3aPython\u4ee3\u7801\u7684\u65b9\u6cd5\u5305\u62ec\u7406\u89e3VBA\u7684\u529f\u80fd\u3001\u4f7f\u7528Python\u5e93\u6765\u5b9e\u73b0\u7b49\u6548\u529f\u80fd\u3001\u8c03\u8bd5\u548c\u4f18\u5316\u4ee3\u7801\u3002<\/strong> \u4e0b\u9762\u8be6\u7ec6\u63cf\u8ff0\u5176\u4e2d\u7684\u4e00\u70b9\uff1a<strong>\u7406\u89e3VBA\u7684\u529f\u80fd\u662f\u8f6c\u6362\u7684\u7b2c\u4e00\u6b65<\/strong>\u3002\u4f60\u9700\u8981\u6e05\u695a\u5730\u77e5\u9053\u6bcf\u4e2aVBA\u5b8f\u7684\u7528\u9014\u548c\u64cd\u4f5c\u6b65\u9aa4\uff0c\u8fd9\u6837\u624d\u80fd\u6b63\u786e\u5730\u5728Python\u4e2d\u5b9e\u73b0\u540c\u6837\u7684\u529f\u80fd\u3002<\/p>\n<\/p>\n<hr>\n<p><h3>\u4e00\u3001\u7406\u89e3VBA\u7684\u529f\u80fd<\/h3>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u8f6c\u6362\u4e4b\u524d\uff0c\u9996\u5148\u8981\u5f04\u6e05\u695aVBA\u5b8f\u7684\u5177\u4f53\u529f\u80fd\u3002VBA\u5b8f\u901a\u5e38\u7528\u4e8e\u5728Excel\u4e2d\u81ea\u52a8\u5316\u4efb\u52a1\uff0c\u5982\u6570\u636e\u5904\u7406\u3001\u62a5\u544a\u751f\u6210\u7b49\u3002\u4e86\u89e3\u6bcf\u4e2a\u5b8f\u7684\u7528\u9014\u548c\u64cd\u4f5c\u6b65\u9aa4\u662f\u6210\u529f\u8f6c\u6362\u7684\u5173\u952e\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5206\u6790\u6bcf\u4e2aVBA\u5b8f\u7684\u529f\u80fd<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u4ed4\u7ec6\u9605\u8bfbVBA\u4ee3\u7801\uff0c\u6ce8\u91ca\u548c\u6587\u6863\uff0c\u7406\u89e3\u5b8f\u7684\u7528\u9014\u548c\u5404\u90e8\u5206\u7684\u529f\u80fd\u3002<\/li>\n<li>\u786e\u5b9a\u5b8f\u7684\u8f93\u5165\u548c\u8f93\u51fa\uff0c\u660e\u786e\u6bcf\u4e00\u6b65\u7684\u5177\u4f53\u64cd\u4f5c\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u8bb0\u5f55VBA\u5b8f\u7684\u7ed3\u6784\u548c\u903b\u8f91<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u5206\u6790VBA\u4ee3\u7801\u7684\u7ed3\u6784\uff0c\u8bb0\u5f55\u4e0b\u5404\u4e2a\u5b50\u8fc7\u7a0b\uff08Sub\uff09\u548c\u51fd\u6570\uff08Function\uff09\u3002<\/li>\n<li>\u6ce8\u610f\u6761\u4ef6\u8bed\u53e5\u3001\u5faa\u73af\u3001\u53d8\u91cf\u58f0\u660e\u53ca\u6570\u636e\u7c7b\u578b\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u9009\u62e9\u5408\u9002\u7684Python\u5e93<\/h3>\n<\/p>\n<p><p>Python\u62e5\u6709\u4e30\u5bcc\u7684\u5e93\uff0c\u53ef\u4ee5\u66ff\u4ee3VBA\u7684\u529f\u80fd\u3002\u5e38\u7528\u5e93\u5305\u62ec<code>pandas<\/code>\u3001<code>openpyxl<\/code>\u3001<code>xlrd<\/code>\u7b49\u3002\u9009\u62e9\u5408\u9002\u7684\u5e93\u53ef\u4ee5\u7b80\u5316\u8f6c\u6362\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>pandas<\/strong><\/p>\n<\/p>\n<ul>\n<li><code>pandas<\/code>\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u5e93\uff0c\u9002\u7528\u4e8e\u5927\u591a\u6570Excel\u64cd\u4f5c\u3002<\/li>\n<li>\u4f7f\u7528<code>pandas<\/code>\u8bfb\u53d6\u3001\u5904\u7406\u548c\u5199\u5165Excel\u6570\u636e\uff0c\u66ff\u4ee3VBA\u4e2d\u76f8\u5e94\u7684\u529f\u80fd\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>openpyxl<\/strong><\/p>\n<\/p>\n<ul>\n<li><code>openpyxl<\/code>\u4e3b\u8981\u7528\u4e8e\u8bfb\u5199Excel 2010 xlsx\/xlsm\/xltx\/xltm\u6587\u4ef6\u3002<\/li>\n<li>\u53ef\u4ee5\u7528\u4e8e\u5904\u7406Excel\u4e2d\u7684\u516c\u5f0f\u3001\u6837\u5f0f\u548c\u56fe\u8868\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>xlrd<\/strong><\/p>\n<\/p>\n<ul>\n<li><code>xlrd<\/code>\u7528\u4e8e\u8bfb\u53d6\u65e7\u7248\u7684Excel\u6587\u4ef6\uff08xls\u683c\u5f0f\uff09\u3002<\/li>\n<li>\u5982\u679c\u9700\u8981\u652f\u6301\u65e7\u7248Excel\uff0c\u53ef\u4ee5\u7ed3\u5408<code>xlwt<\/code>\uff08\u5199\u5165xls\u6587\u4ef6\uff09\u4f7f\u7528\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u9010\u6b65\u8f6c\u6362\u4ee3\u7801<\/h3>\n<\/p>\n<p><p>\u6309\u7167VBA\u5b8f\u7684\u7ed3\u6784\u548c\u903b\u8f91\uff0c\u9010\u6b65\u8f6c\u6362\u6210\u7b49\u6548\u7684Python\u4ee3\u7801\u3002\u6bcf\u8f6c\u6362\u4e00\u90e8\u5206\uff0c\u90fd\u8981\u8fdb\u884c\u6d4b\u8bd5\u548c\u8c03\u8bd5\uff0c\u786e\u4fdd\u529f\u80fd\u6b63\u786e\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8f6c\u6362\u53d8\u91cf\u548c\u6570\u636e\u7c7b\u578b<\/strong><\/p>\n<\/p>\n<ul>\n<li>VBA\u4e2d\u7684\u53d8\u91cf\u58f0\u660e\u548c\u6570\u636e\u7c7b\u578b\u9700\u8981\u8f6c\u6362\u6210Python\u4e2d\u7684\u53d8\u91cf\u548c\u6570\u636e\u7c7b\u578b\u3002<\/li>\n<li>\u4f8b\u5982\uff0cVBA\u4e2d\u7684<code>Dim i As Integer<\/code>\u53ef\u4ee5\u8f6c\u6362\u6210Python\u4e2d\u7684<code>i = 0<\/code>\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u8f6c\u6362\u6761\u4ef6\u8bed\u53e5\u548c\u5faa\u73af<\/strong><\/p>\n<\/p>\n<ul>\n<li>VBA\u4e2d\u7684<code>If...Then...Else<\/code>\u8bed\u53e5\u53ef\u4ee5\u8f6c\u6362\u6210Python\u4e2d\u7684<code>if...elif...else<\/code>\u8bed\u53e5\u3002<\/li>\n<li>VBA\u4e2d\u7684<code>For Each...Next<\/code>\u5faa\u73af\u53ef\u4ee5\u8f6c\u6362\u6210Python\u4e2d\u7684<code>for...in<\/code>\u5faa\u73af\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u8f6c\u6362\u5b50\u8fc7\u7a0b\u548c\u51fd\u6570<\/strong><\/p>\n<\/p>\n<ul>\n<li>VBA\u4e2d\u7684\u5b50\u8fc7\u7a0b\uff08Sub\uff09\u548c\u51fd\u6570\uff08Function\uff09\u53ef\u4ee5\u8f6c\u6362\u6210Python\u4e2d\u7684\u51fd\u6570\u3002<\/li>\n<li>\u6ce8\u610f\u53c2\u6570\u4f20\u9012\u548c\u8fd4\u56de\u503c\u7684\u5904\u7406\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u6d4b\u8bd5\u548c\u8c03\u8bd5<\/h3>\n<\/p>\n<p><p>\u5728\u8f6c\u6362\u8fc7\u7a0b\u4e2d\uff0c\u53ca\u65f6\u8fdb\u884c\u6d4b\u8bd5\u548c\u8c03\u8bd5\uff0c\u786e\u4fdd\u6bcf\u4e00\u90e8\u5206\u7684\u529f\u80fd\u90fd\u6b63\u786e\u3002\u4f7f\u7528\u65ad\u70b9\u548c\u65e5\u5fd7\u6765\u8ddf\u8e2a\u4ee3\u7801\u7684\u6267\u884c\u8fc7\u7a0b\uff0c\u53d1\u73b0\u5e76\u4fee\u590d\u9519\u8bef\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5355\u5143\u6d4b\u8bd5<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u4e3a\u6bcf\u4e2a\u8f6c\u6362\u540e\u7684Python\u51fd\u6570\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\uff0c\u786e\u4fdd\u5176\u529f\u80fd\u6b63\u786e\u3002<\/li>\n<li>\u4f7f\u7528Python\u7684<code>unittest<\/code>\u6216<code>pytest<\/code>\u6846\u67b6\u8fdb\u884c\u6d4b\u8bd5\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u96c6\u6210\u6d4b\u8bd5<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u5c06\u6240\u6709\u8f6c\u6362\u540e\u7684\u4ee3\u7801\u96c6\u6210\u5728\u4e00\u8d77\uff0c\u8fdb\u884c\u6574\u4f53\u6d4b\u8bd5\u3002<\/li>\n<li>\u786e\u4fdd\u6240\u6709\u90e8\u5206\u80fd\u591f\u534f\u540c\u5de5\u4f5c\uff0c\u8fbe\u5230\u9884\u671f\u6548\u679c\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u4e94\u3001\u4f18\u5316\u548c\u6539\u8fdb<\/h3>\n<\/p>\n<p><p>\u5728\u5b8c\u6210\u521d\u6b65\u8f6c\u6362\u540e\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u4f18\u5316\u548c\u6539\u8fdb\u4ee3\u7801\u3002\u5229\u7528Python\u7684\u9ad8\u7ea7\u7279\u6027\u548c\u5e93\uff0c\u63d0\u9ad8\u4ee3\u7801\u7684\u6548\u7387\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4ee3\u7801\u4f18\u5316<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u4f18\u5316\u4ee3\u7801\u7ed3\u6784\uff0c\u53bb\u9664\u5197\u4f59\u548c\u91cd\u590d\u7684\u90e8\u5206\u3002<\/li>\n<li>\u4f7f\u7528Python\u7684\u5185\u7f6e\u51fd\u6570\u548c\u5e93\uff0c\u63d0\u9ad8\u4ee3\u7801\u7684\u6548\u7387\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u529f\u80fd\u6269\u5c55<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u6839\u636e\u9700\u6c42\uff0c\u8fdb\u4e00\u6b65\u6269\u5c55\u548c\u6539\u8fdb\u4ee3\u7801\u7684\u529f\u80fd\u3002<\/li>\n<li>\u6dfb\u52a0\u66f4\u591a\u7684\u9519\u8bef\u5904\u7406\u548c\u65e5\u5fd7\u8bb0\u5f55\uff0c\u589e\u5f3a\u4ee3\u7801\u7684\u9c81\u68d2\u6027\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u5b9e\u4f8b\u89e3\u6790<\/h3>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684VBA\u5b8f\u53ca\u5176\u8f6c\u6362\u540e\u7684Python\u4ee3\u7801\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><p>VBA\u5b8f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-vba\">Sub CopyData()<\/p>\n<p>    Dim ws1 As Worksheet<\/p>\n<p>    Dim ws2 As Worksheet<\/p>\n<p>    Dim i As Integer<\/p>\n<p>    Set ws1 = ThisWorkbook.Sheets(&quot;Sheet1&quot;)<\/p>\n<p>    Set ws2 = ThisWorkbook.Sheets(&quot;Sheet2&quot;)<\/p>\n<p>    For i = 1 To 10<\/p>\n<p>        ws2.Cells(i, 1).Value = ws1.Cells(i, 1).Value<\/p>\n<p>    Next i<\/p>\n<p>End Sub<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8f6c\u6362\u540e\u7684Python\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import openpyxl<\/p>\n<p>def copy_data():<\/p>\n<p>    wb = openpyxl.load_workbook(&#39;example.xlsx&#39;)<\/p>\n<p>    ws1 = wb[&#39;Sheet1&#39;]<\/p>\n<p>    ws2 = wb[&#39;Sheet2&#39;]<\/p>\n<p>    for i in range(1, 11):<\/p>\n<p>        ws2.cell(row=i, column=1).value = ws1.cell(row=i, column=1).value<\/p>\n<p>    wb.save(&#39;example.xlsx&#39;)<\/p>\n<p>copy_data()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\u548c\u793a\u4f8b\uff0c\u4f60\u53ef\u4ee5\u5c06VBA\u5b8f\u9010\u6b65\u8f6c\u6362\u4e3aPython\u4ee3\u7801\uff0c\u5b9e\u73b0\u540c\u6837\u7684\u529f\u80fd\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u8bc4\u4f30VBA\u5b8f\u7684\u590d\u6742\u6027\uff0c\u4ee5\u786e\u5b9a\u8f6c\u6362\u5230Python\u7684\u96be\u6613\u7a0b\u5ea6\uff1f<\/strong><br \/>\u5728\u8003\u8651\u5c06VBA\u5b8f\u8f6c\u6362\u4e3aPython\u4ee3\u7801\u65f6\uff0c\u9996\u5148\u8981\u8bc4\u4f30\u5b8f\u7684\u590d\u6742\u6027\u3002\u8fd9\u5305\u62ec\u5206\u6790\u5b8f\u4e2d\u4f7f\u7528\u7684\u51fd\u6570\u3001\u63a7\u5236\u7ed3\u6784\uff08\u5982\u5faa\u73af\u548c\u6761\u4ef6\u8bed\u53e5\uff09\u3001\u4ee5\u53ca\u6240\u6d89\u53ca\u7684\u6570\u636e\u5904\u7406\u548c\u4ea4\u4e92\u3002\u5982\u679c\u5b8f\u4e3b\u8981\u6d89\u53ca\u7b80\u5355\u7684\u8ba1\u7b97\u548c\u6570\u636e\u64cd\u4f5c\uff0c\u8f6c\u6362\u4f1a\u76f8\u5bf9\u76f4\u63a5\u3002\u5bf9\u4e8e\u590d\u6742\u7684\u5b8f\uff0c\u53ef\u80fd\u9700\u8981\u66f4\u591a\u7684\u65f6\u95f4\u548c\u5bf9Python\u5e93\u7684\u4e86\u89e3\uff0c\u4f8b\u5982Pandas\u548cOpenPyXL\u7b49\uff0c\u7528\u4e8e\u6570\u636e\u5904\u7406\u548cExcel\u6587\u4ef6\u64cd\u4f5c\u3002<\/p>\n<p><strong>\u5728\u8f6c\u6362VBA\u5b8f\u65f6\uff0c\u5e94\u8be5\u4f18\u5148\u8003\u8651\u54ea\u4e9bPython\u5e93\uff1f<\/strong><br \/>\u5728\u5c06VBA\u5b8f\u8f6c\u6362\u4e3aPython\u4ee3\u7801\u65f6\uff0c\u6709\u51e0\u4e2a\u5e93\u975e\u5e38\u91cd\u8981\u3002Pandas\u662f\u5904\u7406\u6570\u636e\u8868\u683c\u7684\u7406\u60f3\u9009\u62e9\uff0cNumPy\u9002\u5408\u8fdb\u884c\u6570\u503c\u8ba1\u7b97\uff0c\u800cOpenPyXL\u548cXlsxWriter\u5219\u7528\u4e8e\u8bfb\u53d6\u548c\u5199\u5165Excel\u6587\u4ef6\u3002\u6839\u636e\u5b8f\u7684\u5177\u4f53\u529f\u80fd\uff0c\u53ef\u80fd\u8fd8\u9700\u8981\u8003\u8651\u5176\u4ed6\u5e93\uff0c\u5982Matplotlib\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\uff0c\u6216Requests\u7528\u4e8e\u7f51\u7edc\u8bf7\u6c42\u3002\u5982\u679c\u5b8f\u4e2d\u4f7f\u7528\u4e86\u56fe\u5f62\u7528\u6237\u754c\u9762\uff08GUI\uff09\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528Tkinter\u6216PyQt\u3002<\/p>\n<p><strong>\u5982\u4f55\u786e\u4fdd\u8f6c\u6362\u540e\u7684Python\u4ee3\u7801\u5728\u529f\u80fd\u4e0a\u4e0e\u539fVBA\u5b8f\u4e00\u81f4\uff1f<\/strong><br \/>\u786e\u4fdd\u8f6c\u6362\u540e\u7684Python\u4ee3\u7801\u4e0e\u539fVBA\u5b8f\u529f\u80fd\u4e00\u81f4\uff0c\u5efa\u8bae\u8fdb\u884c\u5168\u9762\u7684\u6d4b\u8bd5\u3002\u53ef\u4ee5\u901a\u8fc7\u521b\u5efa\u4e00\u7ec4\u6d4b\u8bd5\u6570\u636e\uff0c\u8fd0\u884cVBA\u5b8f\u5e76\u8bb0\u5f55\u7ed3\u679c\uff0c\u7136\u540e\u5728Python\u4e2d\u5b9e\u73b0\u76f8\u540c\u7684\u903b\u8f91\u5e76\u6bd4\u8f83\u8f93\u51fa\u3002\u6b64\u5916\uff0c\u9010\u6b65\u9a8c\u8bc1\u6bcf\u4e2a\u8f6c\u6362\u6b65\u9aa4\u4e5f\u662f\u4e00\u4e2a\u6709\u6548\u7684\u65b9\u6cd5\uff0c\u786e\u4fdd\u6bcf\u4e2a\u529f\u80fd\u6a21\u5757\u5728Python\u4e2d\u90fd\u80fd\u6b63\u5e38\u8fd0\u884c\u3002\u5bf9\u6bd4\u7ed3\u679c\u5e76\u8fdb\u884c\u8c03\u8bd5\uff0c\u80fd\u591f\u5e2e\u52a9\u8bc6\u522b\u5e76\u7ea0\u6b63\u4efb\u4f55\u6f5c\u5728\u7684\u903b\u8f91\u9519\u8bef\u6216\u529f\u80fd\u4e0d\u4e00\u81f4\u4e4b\u5904\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5c06VBA\u5b8f\u8f6c\u6362\u4e3aPython\u4ee3\u7801\u7684\u65b9\u6cd5\u5305\u62ec\u7406\u89e3VBA\u7684\u529f\u80fd\u3001\u4f7f\u7528Python\u5e93\u6765\u5b9e\u73b0\u7b49\u6548\u529f\u80fd\u3001\u8c03\u8bd5\u548c\u4f18\u5316\u4ee3\u7801\u3002 [&hellip;]","protected":false},"author":3,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1079217"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1079217"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1079217\/revisions"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1079217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1079217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1079217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}