{"id":979310,"date":"2024-12-27T06:45:20","date_gmt":"2024-12-26T22:45:20","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/979310.html"},"modified":"2024-12-27T06:45:22","modified_gmt":"2024-12-26T22:45:22","slug":"python-%e5%a6%82%e4%bd%95%e5%88%9b%e5%bb%ba%e7%a9%ba%e5%88%97%e8%a1%a8","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/979310.html","title":{"rendered":"python \u5982\u4f55\u521b\u5efa\u7a7a\u5217\u8868"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24205218\/32ca7882-af6c-4997-a1a9-08f22e9b313a.webp\" alt=\"python \u5982\u4f55\u521b\u5efa\u7a7a\u5217\u8868\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u521b\u5efa\u7a7a\u5217\u8868\u7684\u5e38\u7528\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u4f7f\u7528\u65b9\u62ec\u53f7<code>[]<\/code>\u3001\u4f7f\u7528<code>list()<\/code>\u6784\u9020\u51fd\u6570\u7b49\u3002\u4f7f\u7528\u65b9\u62ec\u53f7\u662f\u6700\u7b80\u6d01\u548c\u76f4\u89c2\u7684\u65b9\u6cd5\uff0c\u9002\u5408\u5927\u591a\u6570\u60c5\u51b5\uff0c\u800c<code>list()<\/code>\u6784\u9020\u51fd\u6570\u63d0\u4f9b\u4e86\u4e00\u79cd\u66f4\u5177\u53ef\u8bfb\u6027\u7684\u65b9\u6cd5\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u521b\u5efa\u7a7a\u5217\u8868\u662fPython\u7f16\u7a0b\u4e2d\u7684\u4e00\u4e2a\u57fa\u672c\u64cd\u4f5c\uff0c\u53ef\u4ee5\u7528\u4e8e\u5b58\u50a8\u548c\u64cd\u4f5c\u6570\u636e\u3002\u4f7f\u7528\u65b9\u62ec\u53f7<code>[]<\/code>\u662f\u521b\u5efa\u7a7a\u5217\u8868\u7684\u6700\u5e38\u89c1\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u7b80\u5355\u76f4\u63a5\uff0c\u5e76\u4e14\u5728Python\u4e2d\u5e7f\u6cdb\u5e94\u7528\u3002\u6b64\u5916\uff0c<code>list()<\/code>\u6784\u9020\u51fd\u6570\u4e5f\u53ef\u4ee5\u7528\u4e8e\u521b\u5efa\u7a7a\u5217\u8868\uff0c\u7279\u522b\u662f\u5728\u9700\u8981\u5f3a\u8c03\u4f7f\u7528\u5217\u8868\u6784\u9020\u5668\u65f6\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u7a7a\u5217\u8868\u7684\u521b\u5efa\u90fd\u662fPython\u7f16\u7a0b\u4e2d\u7684\u4e00\u4e2a\u5173\u952e\u6b65\u9aa4\uff0c\u5c24\u5176\u662f\u5728\u9700\u8981\u52a8\u6001\u5b58\u50a8\u6570\u636e\u65f6\u3002<\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u63a2\u8ba8\u5982\u4f55\u5728Python\u4e2d\u521b\u5efa\u7a7a\u5217\u8868\uff0c\u4ee5\u53ca\u5728\u4e0d\u540c\u60c5\u51b5\u4e0b\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u65b9\u62ec\u53f7\u521b\u5efa\u7a7a\u5217\u8868<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u4f7f\u7528\u65b9\u62ec\u53f7<code>[]<\/code>\u521b\u5efa\u7a7a\u5217\u8868\u662f\u6700\u5e38\u89c1\u548c\u76f4\u89c2\u7684\u65b9\u6cd5\u3002\u6b64\u65b9\u6cd5\u4e0d\u4ec5\u7b80\u5355\uff0c\u800c\u4e14\u9ad8\u6548\uff0c\u9002\u5408\u4e8e\u5927\u591a\u6570\u7684\u7f16\u7a0b\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528\u65b9\u62ec\u53f7<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528\u65b9\u62ec\u53f7\u521b\u5efa\u7a7a\u5217\u8868\u7684\u8bed\u6cd5\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u5728\u4ee3\u7801\u4e2d\u8f93\u5165\u4e00\u5bf9\u65b9\u62ec\u53f7\u5373\u53ef\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">empty_list = []<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3a<code>empty_list<\/code>\u7684\u7a7a\u5217\u8868\u3002\u8fd9\u4e2a\u5217\u8868\u6ca1\u6709\u4efb\u4f55\u5143\u7d20\uff0c\u53ef\u4ee5\u7528\u6765\u5b58\u50a8\u5c06\u6765\u9700\u8981\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h4>\u7528\u9014<\/h4>\n<\/p>\n<p><p>\u7a7a\u5217\u8868\u53ef\u4ee5\u7528\u4e8e\u52a8\u6001\u6dfb\u52a0\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>append()<\/code>\u65b9\u6cd5\u9010\u4e2a\u6dfb\u52a0\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">empty_list.append(1)<\/p>\n<p>empty_list.append(2)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u7a7a\u5217\u8868\u53d8\u5f97\u975e\u5e38\u6709\u7528\uff0c\u56e0\u4e3a\u5b83\u5141\u8bb8\u7a0b\u5e8f\u5458\u5728\u8fd0\u884c\u65f6\u6839\u636e\u9700\u8981\u6dfb\u52a0\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528<code>list()<\/code>\u6784\u9020\u51fd\u6570\u521b\u5efa\u7a7a\u5217\u8868<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u4f7f\u7528\u65b9\u62ec\u53f7\uff0cPython\u8fd8\u63d0\u4f9b\u4e86<code>list()<\/code>\u6784\u9020\u51fd\u6570\u6765\u521b\u5efa\u7a7a\u5217\u8868\u3002\u867d\u7136\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u5982\u65b9\u62ec\u53f7\u76f4\u89c2\uff0c\u4f46\u5b83\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u66f4\u5177\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528<code>list()<\/code>\u6784\u9020\u51fd\u6570<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528<code>list()<\/code>\u6784\u9020\u51fd\u6570\u521b\u5efa\u7a7a\u5217\u8868\u7684\u8bed\u6cd5\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">empty_list = list()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u8bed\u6cd5\u4e0e\u4f7f\u7528\u65b9\u62ec\u53f7\u7684\u6548\u679c\u76f8\u540c\uff0c\u90fd\u4f1a\u521b\u5efa\u4e00\u4e2a\u6ca1\u6709\u5143\u7d20\u7684\u7a7a\u5217\u8868\u3002<\/p>\n<\/p>\n<p><h4>\u4f18\u52bf<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528<code>list()<\/code>\u6784\u9020\u51fd\u6570\u7684\u4e00\u4e2a\u4f18\u52bf\u662f\uff0c\u5f53\u4ee3\u7801\u9700\u8981\u5f3a\u8c03\u5217\u8868\u662f\u901a\u8fc7\u6784\u9020\u5668\u521b\u5efa\u65f6\uff0c\u5b83\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u3002\u6b64\u5916\uff0c\u5b83\u5728\u67d0\u4e9b\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u7684\u573a\u666f\u4e2d\u4e5f\u663e\u5f97\u66f4\u52a0\u4e00\u81f4\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u7a7a\u5217\u8868\u7684\u5e94\u7528\u573a\u666f<\/h3>\n<\/p>\n<p><p>\u7a7a\u5217\u8868\u5728Python\u4e2d\u6709\u7740\u5e7f\u6cdb\u7684\u5e94\u7528\u573a\u666f\uff0c\u5c24\u5176\u662f\u5728\u9700\u8981\u52a8\u6001\u7ba1\u7406\u6570\u636e\u65f6\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u5e94\u7528\u573a\u666f\uff1a<\/p>\n<\/p>\n<p><h4>\u52a8\u6001\u6570\u636e\u5b58\u50a8<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u52a8\u6001\u6570\u636e\u65f6\uff0c\u7a7a\u5217\u8868\u662f\u4e00\u79cd\u975e\u5e38\u65b9\u4fbf\u7684\u6570\u636e\u7ed3\u6784\u3002\u7a0b\u5e8f\u5458\u53ef\u4ee5\u6839\u636e\u6570\u636e\u6d41\u7684\u53d8\u5316\u52a8\u6001\u5730\u5411\u5217\u8868\u4e2d\u6dfb\u52a0\u548c\u5220\u9664\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><h4>\u6570\u636e\u521d\u59cb\u5316<\/h4>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u7a0b\u5e8f\u9700\u8981\u5728\u5f00\u59cb\u65f6\u521d\u59cb\u5316\u4e00\u4e2a\u7a7a\u5217\u8868\uff0c\u7136\u540e\u6839\u636e\u8fdb\u4e00\u6b65\u7684\u8f93\u5165\u6216\u8ba1\u7b97\u7ed3\u679c\u586b\u5145\u6570\u636e\u3002\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u7a7a\u5217\u8868\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7075\u6d3b\u7684\u8d77\u70b9\u3002<\/p>\n<\/p>\n<p><h4>\u53ef\u53d8\u957f\u5ea6\u7684\u6570\u636e\u96c6<\/h4>\n<\/p>\n<p><p>\u5f53\u6570\u636e\u96c6\u7684\u957f\u5ea6\u5728\u7a0b\u5e8f\u8fd0\u884c\u671f\u95f4\u53ef\u80fd\u53d1\u751f\u53d8\u5316\u65f6\uff0c\u7a7a\u5217\u8868\u662f\u4e00\u4e2a\u7406\u60f3\u7684\u9009\u62e9\u3002\u901a\u8fc7\u4f7f\u7528<code>append()<\/code>\u548c<code>remove()<\/code>\u7b49\u65b9\u6cd5\uff0c\u7a0b\u5e8f\u5458\u53ef\u4ee5\u8f7b\u677e\u5730\u7ba1\u7406\u5217\u8868\u7684\u957f\u5ea6\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528\u7a7a\u5217\u8868\u7684\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u867d\u7136\u7a7a\u5217\u8868\u5728Python\u4e2d\u975e\u5e38\u6709\u7528\uff0c\u4f46\u5728\u4f7f\u7528\u65f6\u4e5f\u9700\u8981\u6ce8\u610f\u4e00\u4e9b\u4e8b\u9879\uff0c\u4ee5\u907f\u514d\u6f5c\u5728\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h4>\u5171\u4eab\u5217\u8868<\/h4>\n<\/p>\n<p><p>\u5f53\u591a\u4e2a\u53d8\u91cf\u5f15\u7528\u540c\u4e00\u4e2a\u5217\u8868\u5bf9\u8c61\u65f6\uff0c\u4fee\u6539\u5217\u8868\u4f1a\u5f71\u54cd\u6240\u6709\u5f15\u7528\u3002\u4e3a\u4e86\u907f\u514d\u8fd9\u79cd\u60c5\u51b5\uff0c\u53ef\u4ee5\u4f7f\u7528<code>copy()<\/code>\u65b9\u6cd5\u521b\u5efa\u5217\u8868\u7684\u526f\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">new_list = empty_list.copy()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u521b\u5efa\u4e00\u4e2a\u72ec\u7acb\u4e8e\u539f\u59cb\u5217\u8868\u7684\u65b0\u5217\u8868\uff0c\u53ef\u4ee5\u72ec\u7acb\u64cd\u4f5c\u800c\u4e0d\u5f71\u54cd\u539f\u59cb\u5217\u8868\u3002<\/p>\n<\/p>\n<p><h4>\u5185\u5b58\u7ba1\u7406<\/h4>\n<\/p>\n<p><p>\u867d\u7136Python\u4f1a\u81ea\u52a8\u7ba1\u7406\u5185\u5b58\uff0c\u4f46\u5728\u5904\u7406\u5927\u578b\u5217\u8868\u65f6\uff0c\u4ecd\u9700\u6ce8\u610f\u5185\u5b58\u4f7f\u7528\u3002\u53ca\u65f6\u6e05\u7406\u4e0d\u518d\u9700\u8981\u7684\u5217\u8868\u6216\u5143\u7d20\u6709\u52a9\u4e8e\u4f18\u5316\u5185\u5b58\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\u521b\u5efa\u7a7a\u5217\u8868\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u6700\u5e38\u7528\u7684\u662f\u4f7f\u7528\u65b9\u62ec\u53f7<code>[]<\/code>\u548c<code>list()<\/code>\u6784\u9020\u51fd\u6570\u3002\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u7f16\u7a0b\u9700\u6c42\u548c\u4e2a\u4eba\u7684\u7f16\u7a0b\u4e60\u60ef\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u7a7a\u5217\u8868\u5728Python\u7f16\u7a0b\u4e2d\u90fd\u626e\u6f14\u7740\u91cd\u8981\u7684\u89d2\u8272\uff0c\u4e3a\u52a8\u6001\u6570\u636e\u7ba1\u7406\u63d0\u4f9b\u4e86\u7075\u6d3b\u6027\u548c\u4fbf\u5229\u6027\u3002\u5728\u4f7f\u7528\u7a7a\u5217\u8868\u65f6\uff0c\u4fdd\u6301\u5bf9\u5185\u5b58\u7ba1\u7406\u548c\u5bf9\u8c61\u5171\u4eab\u7684\u6ce8\u610f\uff0c\u53ef\u4ee5\u786e\u4fdd\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u53ef\u9760\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u521b\u5efa\u4e00\u4e2a\u7a7a\u5217\u8868\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u521b\u5efa\u7a7a\u5217\u8868\u975e\u5e38\u7b80\u5355\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u65b9\u62ec\u53f7 <code>[]<\/code> \u6765\u5b9a\u4e49\u4e00\u4e2a\u7a7a\u5217\u8868\uff0c\u6216\u8005\u4f7f\u7528 <code>list()<\/code> \u51fd\u6570\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u8fd9\u6837\u505a\uff1a<code>empty_list = []<\/code> \u6216\u8005 <code>empty_list = list()<\/code>\u3002\u8fd9\u4e24\u79cd\u65b9\u6cd5\u90fd\u4f1a\u521b\u5efa\u4e00\u4e2a\u6ca1\u6709\u4efb\u4f55\u5143\u7d20\u7684\u7a7a\u5217\u8868\uff0c\u60a8\u53ef\u4ee5\u6839\u636e\u9700\u8981\u540e\u7eed\u6dfb\u52a0\u5143\u7d20\u3002<\/p>\n<p><strong>\u7a7a\u5217\u8868\u548c\u5df2\u521d\u59cb\u5316\u5217\u8868\u6709\u4ec0\u4e48\u533a\u522b\uff1f<\/strong><br \/>\u7a7a\u5217\u8868\u662f\u4e00\u4e2a\u6ca1\u6709\u4efb\u4f55\u5143\u7d20\u7684\u5217\u8868\uff0c\u800c\u5df2\u521d\u59cb\u5316\u5217\u8868\u5219\u662f\u6307\u5df2\u7ecf\u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a\u5143\u7d20\u7684\u5217\u8868\u3002\u521b\u5efa\u7a7a\u5217\u8868\u7684\u597d\u5904\u5728\u4e8e\u5b83\u4e3a\u540e\u7eed\u7684\u6570\u636e\u5b58\u50a8\u63d0\u4f9b\u4e86\u7075\u6d3b\u6027\uff0c\u60a8\u53ef\u4ee5\u52a8\u6001\u5730\u5411\u5217\u8868\u4e2d\u6dfb\u52a0\u5143\u7d20\u3002\u6bd4\u5982\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7 <code>append()<\/code> \u65b9\u6cd5\u5c06\u65b0\u5143\u7d20\u6dfb\u52a0\u5230\u7a7a\u5217\u8868\u4e2d\uff0c\u800c\u4e0d\u9700\u8981\u4e8b\u5148\u5b9a\u4e49\u5143\u7d20\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u68c0\u67e5\u5217\u8868\u662f\u5426\u4e3a\u7a7a\uff1f<\/strong><br \/>\u8981\u68c0\u67e5\u4e00\u4e2a\u5217\u8868\u662f\u5426\u4e3a\u7a7a\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u7b80\u5355\u7684\u6761\u4ef6\u8bed\u53e5\u3002\u53ea\u9700\u68c0\u67e5\u5217\u8868\u7684\u957f\u5ea6\u6216\u76f4\u63a5\u5728\u6761\u4ef6\u4e2d\u4f7f\u7528\u5217\u8868\u672c\u8eab\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 <code>if not my_list:<\/code> \u6765\u5224\u65ad\u5217\u8868 <code>my_list<\/code> \u662f\u5426\u4e3a\u7a7a\u3002\u5982\u679c\u5217\u8868\u4e3a\u7a7a\uff0c\u8fd9\u4e2a\u6761\u4ef6\u5c06\u8fd4\u56de <code>True<\/code>\uff0c\u5426\u5219\u8fd4\u56de <code>False<\/code>\u3002\u8fd9\u79cd\u65b9\u6cd5\u5728\u7f16\u5199\u6761\u4ef6\u903b\u8f91\u65f6\u975e\u5e38\u5e38\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u521b\u5efa\u7a7a\u5217\u8868\u7684\u5e38\u7528\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u4f7f\u7528\u65b9\u62ec\u53f7[]\u3001\u4f7f\u7528list()\u6784\u9020\u51fd\u6570\u7b49\u3002\u4f7f\u7528\u65b9\u62ec\u53f7\u662f\u6700\u7b80\u6d01 [&hellip;]","protected":false},"author":3,"featured_media":979314,"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\/979310"}],"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=979310"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/979310\/revisions"}],"predecessor-version":[{"id":979316,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/979310\/revisions\/979316"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/979314"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=979310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=979310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=979310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}