{"id":1001938,"date":"2024-12-27T10:04:31","date_gmt":"2024-12-27T02:04:31","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1001938.html"},"modified":"2024-12-27T10:04:33","modified_gmt":"2024-12-27T02:04:33","slug":"python%e5%a6%82%e4%bd%95%e9%80%804%e6%a0%bc","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1001938.html","title":{"rendered":"python\u5982\u4f55\u90004\u683c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25075913\/89444290-9f21-4f24-8493-6be61fbe7e65.webp\" alt=\"python\u5982\u4f55\u90004\u683c\" \/><\/p>\n<p><p> <strong>Python\u4e2d\u90004\u683c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u7f29\u8fdb\u3001\u4ee3\u7801\u683c\u5f0f\u5316\u5de5\u5177\u6216\u6587\u672c\u7f16\u8f91\u5668\u7684\u529f\u80fd\u6765\u5b9e\u73b0\u3002\u7f29\u8fdb\u662fPython\u8bed\u6cd5\u4e2d\u7684\u5173\u952e\u5143\u7d20\u4e4b\u4e00\uff0c\u901a\u5e38\u4f7f\u7528\u7a7a\u683c\u6216\u5236\u8868\u7b26\u8fdb\u884c\u3002\u4f7f\u7528\u7a7a\u683c\u8fdb\u884c\u7f29\u8fdb\u901a\u5e38\u66f4\u4e3a\u5e38\u89c1\uff0c\u5c24\u5176\u662f\u5728\u56e2\u961f\u534f\u4f5c\u4e2d\uff0c\u56e0\u4e3a\u7a7a\u683c\u63d0\u4f9b\u4e86\u4e00\u81f4\u6027\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e00\u3001PYTHON \u7f29\u8fdb\u7684\u91cd\u8981\u6027<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u7f29\u8fdb\u662f\u8bed\u6cd5\u7684\u4e00\u90e8\u5206\uff0c\u7528\u4e8e\u5b9a\u4e49\u4ee3\u7801\u5757\u3002\u4e0e\u8bb8\u591a\u5176\u4ed6\u7f16\u7a0b\u8bed\u8a00\u4e0d\u540c\uff0cPython\u6ca1\u6709\u4f7f\u7528\u62ec\u53f7\u6765\u8868\u793a\u4ee3\u7801\u5757\uff0c\u800c\u662f\u901a\u8fc7\u7f29\u8fdb\u6765\u5b9e\u73b0\u3002\u8fd9\u610f\u5473\u7740\u6bcf\u4e2a\u4ee3\u7801\u5757\u7684\u5f00\u59cb\u548c\u7ed3\u675f\u90fd\u662f\u901a\u8fc7\u7f29\u8fdb\u7684\u589e\u52a0\u548c\u51cf\u5c11\u6765\u786e\u5b9a\u7684\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528\u7a7a\u683c\u8fdb\u884c\u7f29\u8fdb<\/strong><\/p>\n<\/p>\n<p><p>Python\u4e2d\u63a8\u8350\u4f7f\u7528\u7a7a\u683c\u8fdb\u884c\u7f29\u8fdb\uff0c\u5c24\u5176\u662fPEP 8\uff08Python\u589e\u5f3a\u63d0\u68488\uff09\u5efa\u8bae\u4f7f\u75284\u4e2a\u7a7a\u683c\u6765\u8868\u793a\u4e00\u4e2a\u7f29\u8fdb\u5c42\u7ea7\u3002\u4f7f\u7528\u7a7a\u683c\u6709\u52a9\u4e8e\u4fdd\u6301\u4ee3\u7801\u7684\u4e00\u81f4\u6027\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def example_function():<\/p>\n<p>    for i in range(10):<\/p>\n<p>        print(i)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u51fd\u6570<code>example_function<\/code>\u5185\u90e8\u7684\u4ee3\u7801\u5757\u7f29\u8fdb\u4e864\u4e2a\u7a7a\u683c\uff0c\u8868\u793a\u5b83\u4eec\u5c5e\u4e8e\u51fd\u6570\u7684\u4e00\u90e8\u5206\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u5236\u8868\u7b26\u8fdb\u884c\u7f29\u8fdb<\/strong><\/p>\n<\/p>\n<p><p>\u867d\u7136\u5236\u8868\u7b26\u4e5f\u53ef\u4ee5\u7528\u4e8e\u7f29\u8fdb\uff0c\u4f46\u5176\u4f7f\u7528\u53ef\u80fd\u4f1a\u5bfc\u81f4\u4e00\u4e9b\u95ee\u9898\uff0c\u5c24\u5176\u662f\u5728\u4e0d\u540c\u7684\u7f16\u8f91\u5668\u4e2d\u663e\u793a\u65f6\u3002\u4e0d\u540c\u7684\u7f16\u8f91\u5668\u53ef\u80fd\u4f1a\u5bf9\u5236\u8868\u7b26\u7684\u5bbd\u5ea6\u6709\u4e0d\u540c\u7684\u89e3\u91ca\uff0c\u5bfc\u81f4\u4ee3\u7801\u7684\u5bf9\u9f50\u51fa\u73b0\u95ee\u9898\u3002\u56e0\u6b64\uff0c\u4f7f\u7528\u7a7a\u683c\u7f29\u8fdb\u901a\u5e38\u662f\u66f4\u5b89\u5168\u7684\u9009\u62e9\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u7684\u7f29\u8fdb\u529f\u80fd<\/p>\n<\/p>\n<p><p>\u73b0\u4ee3\u6587\u672c\u7f16\u8f91\u5668\u548cIDE\uff08\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff09\u901a\u5e38\u63d0\u4f9b\u4e86\u4e00\u4e9b\u6709\u7528\u7684\u529f\u80fd\u6765\u5e2e\u52a9\u5f00\u53d1\u8005\u7ba1\u7406\u4ee3\u7801\u7f29\u8fdb\u3002\u8fd9\u4e9b\u529f\u80fd\u53ef\u4ee5\u81ea\u52a8\u5316\u7f29\u8fdb\u8c03\u6574\uff0c\u4f7f\u4ee3\u7801\u66f4\u6613\u4e8e\u7ef4\u62a4\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u914d\u7f6e\u7f16\u8f91\u5668\u4f7f\u7528\u7a7a\u683c\u4ee3\u66ff\u5236\u8868\u7b26<\/strong><\/p>\n<\/p>\n<p><p>\u5927\u591a\u6570\u7f16\u8f91\u5668\u548cIDE\u5141\u8bb8\u5f00\u53d1\u8005\u914d\u7f6e\u7f29\u8fdb\u8bbe\u7f6e\u3002\u53ef\u4ee5\u5c06\u5236\u8868\u7b26\u66ff\u6362\u4e3a\u7a7a\u683c\uff0c\u5e76\u6307\u5b9a\u6bcf\u4e2a\u5236\u8868\u7b26\u7b49\u4e8e\u591a\u5c11\u4e2a\u7a7a\u683c\uff08\u901a\u5e38\u4e3a4\u4e2a\uff09\u3002\u8fd9\u6837\uff0c\u5373\u4f7f\u6309\u4e0b\u5236\u8868\u7b26\u952e\uff0c\u7f16\u8f91\u5668\u4e5f\u4f1a\u63d2\u5165\u9002\u5f53\u6570\u91cf\u7684\u7a7a\u683c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u81ea\u52a8\u683c\u5f0f\u5316\u5de5\u5177<\/strong><\/p>\n<\/p>\n<p><p>\u5de5\u5177\u5982<code>black<\/code>\u548c<code>autopep8<\/code>\u53ef\u4ee5\u81ea\u52a8\u683c\u5f0f\u5316Python\u4ee3\u7801\uff0c\u4f7f\u5176\u7b26\u5408PEP 8\u6807\u51c6\u3002\u8fd9\u4e9b\u5de5\u5177\u53ef\u4ee5\u81ea\u52a8\u8c03\u6574\u7f29\u8fdb\u548c\u683c\u5f0f\uff0c\u4f7f\u4ee3\u7801\u4fdd\u6301\u4e00\u81f4\u6027\u3002<\/p>\n<\/p>\n<p><p>\u793a\u4f8b\u4f7f\u7528<code>black<\/code>\u683c\u5f0f\u5316\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">black script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd0\u884c\u4e0a\u8ff0\u547d\u4ee4\u540e\uff0c<code>script.py<\/code>\u4e2d\u7684\u4ee3\u7801\u5c06\u88ab\u81ea\u52a8\u683c\u5f0f\u5316\uff0c\u7f29\u8fdb\u548c\u5176\u4ed6\u683c\u5f0f\u95ee\u9898\u5c06\u88ab\u7ea0\u6b63\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u624b\u52a8\u8c03\u6574\u7f29\u8fdb<\/p>\n<\/p>\n<p><p>\u6709\u65f6\u5019\uff0c\u5f00\u53d1\u8005\u53ef\u80fd\u9700\u8981\u624b\u52a8\u8c03\u6574\u4ee3\u7801\u7684\u7f29\u8fdb\uff0c\u4f8b\u5982\u5728\u5408\u5e76\u4ee3\u7801\u6bb5\u6216\u91cd\u6784\u4ee3\u7801\u65f6\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5efa\u8bae\uff0c\u5e2e\u52a9\u60a8\u624b\u52a8\u8c03\u6574\u7f29\u8fdb\u65f6\u907f\u514d\u9519\u8bef\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u786e\u4fdd\u4e00\u81f4\u6027<\/strong><\/p>\n<\/p>\n<p><p>\u5f53\u624b\u52a8\u8c03\u6574\u7f29\u8fdb\u65f6\uff0c\u786e\u4fdd\u6574\u4e2a\u9879\u76ee\u4e2d\u4f7f\u7528\u4e00\u81f4\u7684\u7f29\u8fdb\u65b9\u5f0f\uff08\u7a7a\u683c\u6216\u5236\u8868\u7b26\uff09\u3002\u4e00\u81f4\u7684\u7f29\u8fdb\u65b9\u5f0f\u53ef\u4ee5\u907f\u514d\u8bb8\u591a\u5e38\u89c1\u7684\u8bed\u6cd5\u9519\u8bef\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u7f16\u8f91\u5668\u7684\u7f29\u8fdb\u8c03\u6574\u529f\u80fd<\/strong><\/p>\n<\/p>\n<p><p>\u5927\u591a\u6570\u7f16\u8f91\u5668\u63d0\u4f9b\u4e86\u589e\u52a0\u6216\u51cf\u5c11\u7f29\u8fdb\u7684\u5feb\u6377\u952e\u3002\u4f8b\u5982\uff0c\u901a\u5e38\u53ef\u4ee5\u9009\u62e9\u591a\u884c\u4ee3\u7801\uff0c\u7136\u540e\u6309\u4e0b\u67d0\u4e2a\u5feb\u6377\u952e\u6765\u7edf\u4e00\u589e\u52a0\u6216\u51cf\u5c11\u7f29\u8fdb\u5c42\u7ea7\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4ed4\u7ec6\u68c0\u67e5\u4ee3\u7801\u5757<\/strong><\/p>\n<\/p>\n<p><p>\u786e\u4fdd\u6240\u6709\u4ee3\u7801\u5757\u7684\u5f00\u59cb\u548c\u7ed3\u675f\u4f4d\u7f6e\u6b63\u786e\u65e0\u8bef\u3002\u8fd9\u662f\u56e0\u4e3aPython\u4e25\u683c\u4f9d\u8d56\u7f29\u8fdb\u6765\u6807\u8bc6\u4ee3\u7801\u7ed3\u6784\uff0c\u7f29\u8fdb\u9519\u8bef\u53ef\u80fd\u5bfc\u81f4\u903b\u8f91\u9519\u8bef\u6216\u8bed\u6cd5\u9519\u8bef\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u907f\u514d\u7f29\u8fdb\u9519\u8bef\u7684\u6700\u4f73\u5b9e\u8df5<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u907f\u514d\u7f29\u8fdb\u9519\u8bef\uff0c\u5efa\u8bae\u9075\u5faa\u4ee5\u4e0b\u6700\u4f73\u5b9e\u8df5\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528\u7a7a\u683c\u800c\u4e0d\u662f\u5236\u8868\u7b26<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u524d\u6240\u8ff0\uff0c\u7a7a\u683c\u63d0\u4f9b\u4e86\u4e00\u81f4\u7684\u663e\u793a\u6548\u679c\uff0c\u63a8\u8350\u4f7f\u7528\u7a7a\u683c\u8fdb\u884c\u7f29\u8fdb\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6bcf\u4e2a\u7f29\u8fdb\u5c42\u7ea7\u4f7f\u75284\u4e2a\u7a7a\u683c<\/strong><\/p>\n<\/p>\n<p><p>\u9075\u5faaPEP 8\u7684\u5efa\u8bae\uff0c\u6bcf\u4e2a\u7f29\u8fdb\u5c42\u7ea7\u4f7f\u75284\u4e2a\u7a7a\u683c\uff0c\u4ee5\u4fdd\u6301\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u4e00\u81f4\u6027\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u4ee3\u7801\u683c\u5f0f\u5316\u5de5\u5177<\/strong><\/p>\n<\/p>\n<p><p>\u5b9a\u671f\u4f7f\u7528\u4ee3\u7801\u683c\u5f0f\u5316\u5de5\u5177\u6765\u4fdd\u6301\u4ee3\u7801\u7684\u6574\u6d01\u548c\u4e00\u81f4\u3002\u5de5\u5177\u5982<code>black<\/code>\u548c<code>autopep8<\/code>\u53ef\u4ee5\u81ea\u52a8\u7ea0\u6b63\u683c\u5f0f\u95ee\u9898\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b9a\u671f\u5ba1\u67e5\u4ee3\u7801<\/strong><\/p>\n<\/p>\n<p><p>\u5b9a\u671f\u5ba1\u67e5\u4ee3\u7801\uff0c\u786e\u4fdd\u7f29\u8fdb\u548c\u5176\u4ed6\u683c\u5f0f\u95ee\u9898\u5f97\u5230\u53ca\u65f6\u7ea0\u6b63\u3002<a href=\"https:\/\/docs.pingcode.com\/code-review\" target=\"_blank\">\u4ee3\u7801\u5ba1\u67e5<\/a>\u4e5f\u662f\u53d1\u73b0\u6f5c\u5728\u903b\u8f91\u9519\u8bef\u7684\u597d\u673a\u4f1a\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>Python\u4e2d\u7684\u7f29\u8fdb\u4e0d\u4ec5\u4ec5\u662f\u4ee3\u7801\u98ce\u683c\u95ee\u9898\uff0c\u5b83\u76f4\u63a5\u5f71\u54cd\u5230\u4ee3\u7801\u7684\u6267\u884c\u548c\u903b\u8f91\u7ed3\u6784\u3002\u65e0\u8bba\u662f\u901a\u8fc7\u624b\u52a8\u8c03\u6574\u8fd8\u662f\u4f7f\u7528\u81ea\u52a8\u5316\u5de5\u5177\uff0c\u4fdd\u6301\u4ee3\u7801\u7f29\u8fdb\u7684\u4e00\u81f4\u6027\u548c\u6b63\u786e\u6027\u90fd\u662f\u786e\u4fdd\u4ee3\u7801\u8d28\u91cf\u7684\u91cd\u8981\u73af\u8282\u3002\u901a\u8fc7\u9075\u5faa\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u73b0\u4ee3\u5de5\u5177\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u6709\u6548\u5730\u7ba1\u7406\u4ee3\u7801\u7684\u7f29\u8fdb\uff0c\u907f\u514d\u5e38\u89c1\u7684\u7f29\u8fdb\u9519\u8bef\uff0c\u5e76\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b9e\u73b0\u4ee3\u7801\u7684\u7f29\u8fdb\u548c\u9000\u683c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u4ee3\u7801\u7f29\u8fdb\u662f\u975e\u5e38\u91cd\u8981\u7684\uff0c\u5b83\u51b3\u5b9a\u4e86\u4ee3\u7801\u5757\u7684\u5c42\u6b21\u7ed3\u6784\u3002\u8981\u90004\u683c\uff0c\u53ef\u4ee5\u4f7f\u7528\u7a7a\u683c\u952e\u6216Tab\u952e\u3002\u901a\u5e38\u63a8\u8350\u4f7f\u7528\u7a7a\u683c\uff0c4\u4e2a\u7a7a\u683c\u662fPython\u7684\u6807\u51c6\u7f29\u8fdb\u3002\u5728\u6587\u672c\u7f16\u8f91\u5668\u6216IDE\u4e2d\uff0c\u6309\u4e0b\u7a7a\u683c\u952e4\u6b21\u5373\u53ef\u5b9e\u73b0\u90004\u683c\u7684\u6548\u679c\u3002<\/p>\n<p><strong>\u5728Python\u7684IDE\u6216\u6587\u672c\u7f16\u8f91\u5668\u4e2d\uff0c\u5982\u4f55\u8bbe\u7f6e\u7f29\u8fdb\u65b9\u5f0f\uff1f<\/strong><br \/>\u5927\u591a\u6570\u73b0\u4ee3IDE\u548c\u6587\u672c\u7f16\u8f91\u5668\u90fd\u5141\u8bb8\u7528\u6237\u81ea\u5b9a\u4e49\u7f29\u8fdb\u65b9\u5f0f\u3002\u53ef\u4ee5\u5728\u8bbe\u7f6e\u6216\u504f\u597d\u8bbe\u7f6e\u4e2d\u627e\u5230\u201c\u7f29\u8fdb\u201d\u9009\u9879\uff0c\u9009\u62e9\u4f7f\u7528\u7a7a\u683c\u6216Tab\uff0c\u5e76\u8bbe\u7f6e\u6bcf\u4e2a\u7f29\u8fdb\u5c42\u7ea7\u7684\u7a7a\u683c\u6570\u91cf\u3002\u786e\u4fdd\u9009\u62e94\u4e2a\u7a7a\u683c\u4f5c\u4e3aPython\u7684\u6807\u51c6\u7f29\u8fdb\u65b9\u5f0f\u3002<\/p>\n<p><strong>\u5982\u679c\u5728Python\u4ee3\u7801\u4e2d\u4f7f\u7528Tab\u548c\u7a7a\u683c\u6df7\u5408\u7f29\u8fdb\uff0c\u4f1a\u6709\u4ec0\u4e48\u540e\u679c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u6df7\u5408\u4f7f\u7528Tab\u548c\u7a7a\u683c\u4f1a\u5bfc\u81f4IndentationError\u9519\u8bef\u3002\u8fd9\u662f\u56e0\u4e3aPython\u89e3\u91ca\u5668\u65e0\u6cd5\u786e\u5b9a\u4ee3\u7801\u5757\u7684\u5c42\u6b21\u3002\u56e0\u6b64\uff0c\u5efa\u8bae\u5728\u6574\u4e2a\u9879\u76ee\u4e2d\u7edf\u4e00\u4f7f\u7528\u7a7a\u683c\u6216Tab\uff0c\u4ee5\u907f\u514d\u6f5c\u5728\u7684\u9519\u8bef\u548c\u4ee3\u7801\u53ef\u8bfb\u6027\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u4e2d\u90004\u683c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u7f29\u8fdb\u3001\u4ee3\u7801\u683c\u5f0f\u5316\u5de5\u5177\u6216\u6587\u672c\u7f16\u8f91\u5668\u7684\u529f\u80fd\u6765\u5b9e\u73b0\u3002\u7f29\u8fdb\u662fPython\u8bed\u6cd5\u4e2d\u7684\u5173\u952e\u5143 [&hellip;]","protected":false},"author":3,"featured_media":1001945,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1001938"}],"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=1001938"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1001938\/revisions"}],"predecessor-version":[{"id":1001948,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1001938\/revisions\/1001948"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1001945"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1001938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1001938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1001938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}