{"id":1107466,"date":"2025-01-08T16:50:07","date_gmt":"2025-01-08T08:50:07","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1107466.html"},"modified":"2025-01-08T16:50:15","modified_gmt":"2025-01-08T08:50:15","slug":"python%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%ad%e4%b8%80%e4%b8%aaset%e4%b8%ba%e7%a9%ba","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1107466.html","title":{"rendered":"Python\u5982\u4f55\u5224\u65ad\u4e00\u4e2aset\u4e3a\u7a7a"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25071503\/34072563-fa5c-4d9f-9c0f-5c958f61f372.webp\" alt=\"Python\u5982\u4f55\u5224\u65ad\u4e00\u4e2aset\u4e3a\u7a7a\" \/><\/p>\n<p><p> <strong>\u5224\u65ad\u4e00\u4e2aPython set\u662f\u5426\u4e3a\u7a7a\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u6cd5\uff1a\u4f7f\u7528\u5e03\u5c14\u4e0a\u4e0b\u6587\u3001\u4f7f\u7528len()\u51fd\u6570\u3001\u4f7f\u7528\u6bd4\u8f83\u8fd0\u7b97\u7b26\u3001\u4f7f\u7528try-except\u5757<\/strong>\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u662f\u4f7f\u7528\u5e03\u5c14\u4e0a\u4e0b\u6587\u548c\u4f7f\u7528len()\u51fd\u6570\u3002\u4f7f\u7528\u5e03\u5c14\u4e0a\u4e0b\u6587\u65f6\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728\u6761\u4ef6\u8bed\u53e5\u4e2d\u68c0\u67e5set\u662f\u5426\u4e3a\u7a7a\uff1b\u4f7f\u7528len()\u51fd\u6570\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u68c0\u67e5\u96c6\u5408\u7684\u957f\u5ea6\u662f\u5426\u4e3a0\u6765\u5224\u65ad\u96c6\u5408\u662f\u5426\u4e3a\u7a7a\u3002\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u5176\u4e2d\u4e00\u79cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f7f\u7528\u5e03\u5c14\u4e0a\u4e0b\u6587<\/strong>\u662f\u5224\u65ad\u4e00\u4e2aset\u662f\u5426\u4e3a\u7a7a\u7684\u5e38\u7528\u65b9\u6cd5\u3002\u5728Python\u4e2d\uff0c\u96c6\u5408\uff08set\uff09\u5bf9\u8c61\u53ef\u4ee5\u76f4\u63a5\u7528\u4e8e\u5e03\u5c14\u4e0a\u4e0b\u6587\u4e2d\uff0c\u6bd4\u5982\u5728if\u8bed\u53e5\u4e2d\u3002\u5982\u679c\u96c6\u5408\u4e3a\u7a7a\uff0c\u5b83\u7684\u5e03\u5c14\u503c\u4e3aFalse\uff1b\u5982\u679c\u96c6\u5408\u4e0d\u4e3a\u7a7a\uff0c\u5b83\u7684\u5e03\u5c14\u503c\u4e3aTrue\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684if\u8bed\u53e5\u6765\u5224\u65ad\u96c6\u5408\u662f\u5426\u4e3a\u7a7a\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_set = set()<\/p>\n<p>if not my_set:<\/p>\n<p>    print(&quot;The set is empty&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The set is not empty&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u5e03\u5c14\u4e0a\u4e0b\u6587<\/h3>\n<\/p>\n<p><p>\u5e03\u5c14\u4e0a\u4e0b\u6587\u662f\u4e00\u79cd\u7b80\u5355\u800c\u76f4\u63a5\u7684\u65b9\u6cd5\u3002Python\u4e2d\u7684\u96c6\u5408\u5bf9\u8c61\u53ef\u4ee5\u76f4\u63a5\u7528\u4e8e\u5e03\u5c14\u8868\u8fbe\u5f0f\u4e2d\uff0c\u8fd9\u610f\u5473\u7740\u6211\u4eec\u53ef\u4ee5\u5728if\u8bed\u53e5\u4e2d\u76f4\u63a5\u68c0\u67e5\u96c6\u5408\u662f\u5426\u4e3a\u7a7a\u3002\u5982\u679c\u96c6\u5408\u4e3a\u7a7a\uff0c\u5b83\u7684\u5e03\u5c14\u503c\u4e3aFalse\uff1b\u5982\u679c\u96c6\u5408\u4e0d\u4e3a\u7a7a\uff0c\u5b83\u7684\u5e03\u5c14\u503c\u4e3aTrue\u3002\u8fd9\u79cd\u65b9\u6cd5\u7b80\u6d01\u660e\u4e86\uff0c\u975e\u5e38\u9002\u5408\u7528\u4e8e\u5feb\u901f\u5224\u65ad\u96c6\u5408\u662f\u5426\u4e3a\u7a7a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_set = set()<\/p>\n<p>if not my_set:<\/p>\n<p>    print(&quot;The set is empty&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The set is not empty&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u521b\u5efa\u4e86\u4e00\u4e2a\u7a7a\u96c6\u5408<code>my_set<\/code>\u3002\u7136\u540e\uff0c\u6211\u4eec\u4f7f\u7528if\u8bed\u53e5\u68c0\u67e5\u96c6\u5408\u662f\u5426\u4e3a\u7a7a\u3002\u5982\u679c\u96c6\u5408\u4e3a\u7a7a\uff0c\u6253\u5370&quot;The set is empty&quot;\uff1b\u5426\u5219\uff0c\u6253\u5370&quot;The set is not empty&quot;\u3002\u8fd9\u79cd\u65b9\u6cd5\u5229\u7528\u4e86Python\u96c6\u5408\u5bf9\u8c61\u7684\u5e03\u5c14\u503c\u7279\u6027\uff0c\u4ee3\u7801\u7b80\u6d01\u6613\u8bfb\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528len()\u51fd\u6570<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528len()\u51fd\u6570\u662f\u53e6\u4e00\u79cd\u5e38\u89c1\u7684\u65b9\u6cd5\u3002len()\u51fd\u6570\u8fd4\u56de\u96c6\u5408\u4e2d\u7684\u5143\u7d20\u4e2a\u6570\uff0c\u56e0\u6b64\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u68c0\u67e5\u96c6\u5408\u7684\u957f\u5ea6\u662f\u5426\u4e3a0\u6765\u5224\u65ad\u96c6\u5408\u662f\u5426\u4e3a\u7a7a\u3002\u8fd9\u79cd\u65b9\u6cd5\u5728\u5f88\u591a\u60c5\u51b5\u4e0b\u975e\u5e38\u5b9e\u7528\uff0c\u5c24\u5176\u662f\u5728\u9700\u8981\u660e\u786e\u77e5\u9053\u96c6\u5408\u4e2d\u6709\u591a\u5c11\u5143\u7d20\u65f6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_set = set()<\/p>\n<p>if len(my_set) == 0:<\/p>\n<p>    print(&quot;The set is empty&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The set is not empty&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u540c\u6837\u521b\u5efa\u4e86\u4e00\u4e2a\u7a7a\u96c6\u5408<code>my_set<\/code>\u3002\u7136\u540e\uff0c\u6211\u4eec\u4f7f\u7528len()\u51fd\u6570\u68c0\u67e5\u96c6\u5408\u7684\u957f\u5ea6\u662f\u5426\u4e3a0\u3002\u5982\u679c\u957f\u5ea6\u4e3a0\uff0c\u6253\u5370&quot;The set is empty&quot;\uff1b\u5426\u5219\uff0c\u6253\u5370&quot;The set is not empty&quot;\u3002\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u76f4\u89c2\uff0c\u9002\u5408\u7528\u4e8e\u9700\u8981\u660e\u786e\u96c6\u5408\u5143\u7d20\u6570\u91cf\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u6bd4\u8f83\u8fd0\u7b97\u7b26<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528\u6bd4\u8f83\u8fd0\u7b97\u7b26\u4e5f\u662f\u4e00\u79cd\u5224\u65ad\u96c6\u5408\u662f\u5426\u4e3a\u7a7a\u7684\u65b9\u6cd5\u3002\u6211\u4eec\u53ef\u4ee5\u5c06\u96c6\u5408\u4e0e\u4e00\u4e2a\u7a7a\u96c6\u5408\u8fdb\u884c\u6bd4\u8f83\uff0c\u5982\u679c\u76f8\u7b49\uff0c\u5219\u8868\u793a\u96c6\u5408\u4e3a\u7a7a\uff1b\u5426\u5219\uff0c\u96c6\u5408\u4e0d\u4e3a\u7a7a\u3002\u8fd9\u79cd\u65b9\u6cd5\u540c\u6837\u975e\u5e38\u7b80\u5355\u6613\u61c2\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_set = set()<\/p>\n<p>if my_set == set():<\/p>\n<p>    print(&quot;The set is empty&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The set is not empty&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5c06\u96c6\u5408<code>my_set<\/code>\u4e0e\u4e00\u4e2a\u7a7a\u96c6\u5408\u8fdb\u884c\u6bd4\u8f83\u3002\u5982\u679c\u76f8\u7b49\uff0c\u6253\u5370&quot;The set is empty&quot;\uff1b\u5426\u5219\uff0c\u6253\u5370&quot;The set is not empty&quot;\u3002\u8fd9\u79cd\u65b9\u6cd5\u867d\u7136\u4e0d\u5982\u5e03\u5c14\u4e0a\u4e0b\u6587\u548clen()\u51fd\u6570\u5e38\u7528\uff0c\u4f46\u5728\u67d0\u4e9b\u7279\u5b9a\u573a\u666f\u4e0b\u4ecd\u7136\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528try-except\u5757<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528try-except\u5757\u662f\u4e00\u79cd\u8f83\u4e3a\u7279\u6b8a\u7684\u65b9\u6cd5\uff0c\u901a\u5e38\u7528\u4e8e\u5904\u7406\u53ef\u80fd\u5f15\u53d1\u5f02\u5e38\u7684\u64cd\u4f5c\u3002\u867d\u7136\u5224\u65ad\u96c6\u5408\u662f\u5426\u4e3a\u7a7a\u901a\u5e38\u4e0d\u4f1a\u5f15\u53d1\u5f02\u5e38\uff0c\u4f46\u5728\u67d0\u4e9b\u590d\u6742\u573a\u666f\u4e0b\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u4f7f\u7528try-except\u5757\u6765\u5904\u7406\u5176\u4ed6\u53ef\u80fd\u7684\u5f02\u5e38\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_set = set()<\/p>\n<p>try:<\/p>\n<p>    if not my_set:<\/p>\n<p>        print(&quot;The set is empty&quot;)<\/p>\n<p>    else:<\/p>\n<p>        print(&quot;The set is not empty&quot;)<\/p>\n<p>except Exception as e:<\/p>\n<p>    print(f&quot;An error occurred: {e}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528try-except\u5757\u6765\u5305\u88f9\u5224\u65ad\u96c6\u5408\u662f\u5426\u4e3a\u7a7a\u7684\u4ee3\u7801\u3002\u5982\u679c\u5224\u65ad\u8fc7\u7a0b\u4e2d\u53d1\u751f\u5f02\u5e38\uff0c\u6211\u4eec\u4f1a\u6355\u83b7\u5e76\u6253\u5370\u5f02\u5e38\u4fe1\u606f\u3002\u867d\u7136\u8fd9\u79cd\u65b9\u6cd5\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u5e76\u4e0d\u5e38\u7528\uff0c\u4f46\u5728\u5904\u7406\u590d\u6742\u903b\u8f91\u65f6\u53ef\u80fd\u4f1a\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5224\u65ad\u4e00\u4e2aPython set\u662f\u5426\u4e3a\u7a7a\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u4f7f\u7528\u5e03\u5c14\u4e0a\u4e0b\u6587\u3001\u4f7f\u7528len()\u51fd\u6570\u3001\u4f7f\u7528\u6bd4\u8f83\u8fd0\u7b97\u7b26\u4ee5\u53ca\u4f7f\u7528try-except\u5757\u3002\u5176\u4e2d\uff0c\u4f7f\u7528\u5e03\u5c14\u4e0a\u4e0b\u6587\u548clen()\u51fd\u6570\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\uff0c\u4ee3\u7801\u7b80\u6d01\u660e\u4e86\uff0c\u6613\u4e8e\u7406\u89e3\u548c\u7ef4\u62a4\u3002\u4f7f\u7528\u6bd4\u8f83\u8fd0\u7b97\u7b26\u548ctry-except\u5757\u5219\u9002\u7528\u4e8e\u67d0\u4e9b\u7279\u5b9a\u573a\u666f\uff0c\u6839\u636e\u5b9e\u9645\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u5065\u58ee\u6027\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u5bf9\u8fd9\u4e9b\u65b9\u6cd5\u7684\u6df1\u5165\u4e86\u89e3\u548c\u7075\u6d3b\u8fd0\u7528\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u52a0\u9ad8\u6548\u5730\u5904\u7406\u96c6\u5408\u7684\u76f8\u5173\u64cd\u4f5c\uff0c\u63d0\u9ad8\u4ee3\u7801\u7684\u8d28\u91cf\u548c\u53ef\u7ef4\u62a4\u6027\u3002\u65e0\u8bba\u662f\u5728\u65e5\u5e38\u5f00\u53d1\u8fd8\u662f\u5728\u89e3\u51b3\u590d\u6742\u95ee\u9898\u65f6\uff0c\u8fd9\u4e9b\u6280\u5de7\u90fd\u5c06\u4e3a\u6211\u4eec\u63d0\u4f9b\u6709\u529b\u7684\u652f\u6301\u548c\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u68c0\u67e5\u4e00\u4e2aset\u662f\u5426\u4e3a\u7a7a\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u7b80\u5355\u7684\u6761\u4ef6\u8bed\u53e5\u6765\u5224\u65ad\u4e00\u4e2aset\u662f\u5426\u4e3a\u7a7a\u3002\u901a\u8fc7\u76f4\u63a5\u4f7f\u7528if\u8bed\u53e5\uff0c\u53ef\u4ee5\u68c0\u67e5set\u7684\u5e03\u5c14\u503c\uff0c\u56e0\u4e3a\u7a7aset\u7684\u5e03\u5c14\u503c\u4e3aFalse\uff0c\u975e\u7a7aset\u7684\u5e03\u5c14\u503c\u4e3aTrue\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u8fdb\u884c\u68c0\u67e5\uff1a<\/p>\n<pre><code class=\"language-python\">my_set = set()\nif not my_set:\n    print(&quot;Set is empty&quot;)\nelse:\n    print(&quot;Set is not empty&quot;)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u7b80\u5355\u76f4\u89c2\uff0c\u9002\u5408\u5927\u591a\u6570\u573a\u5408\u3002<\/p>\n<p><strong>\u4f7f\u7528len()\u51fd\u6570\u68c0\u67e5set\u7684\u5143\u7d20\u4e2a\u6570\u662f\u5426\u4e3a\u96f6\uff1f<\/strong><br \/>\u53e6\u5916\u4e00\u79cd\u65b9\u6cd5\u662f\u4f7f\u7528<code>len()<\/code>\u51fd\u6570\uff0c\u8fd9\u4e2a\u51fd\u6570\u53ef\u4ee5\u8fd4\u56deset\u4e2d\u5143\u7d20\u7684\u6570\u91cf\u3002\u5982\u679c\u8fd4\u56de\u503c\u4e3a0\uff0c\u5219\u8bf4\u660eset\u4e3a\u7a7a\u3002\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">my_set = set()\nif len(my_set) == 0:\n    print(&quot;Set is empty&quot;)\nelse:\n    print(&quot;Set is not empty&quot;)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u867d\u7136\u6709\u6548\uff0c\u4f46\u76f8\u8f83\u4e8e\u76f4\u63a5\u7684\u5e03\u5c14\u5224\u65ad\uff0c\u7565\u663e\u5197\u957f\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u5904\u7406\u4e00\u4e2a\u53ef\u80fd\u4e3a\u7a7a\u7684set\uff1f<\/strong><br \/>\u5728\u5904\u7406\u53ef\u80fd\u4e3a\u7a7a\u7684set\u65f6\uff0c\u6700\u597d\u5728\u4ee3\u7801\u903b\u8f91\u4e2d\u8003\u8651\u5230\u8fd9\u79cd\u60c5\u51b5\u3002\u53ef\u4ee5\u5728\u6267\u884c\u4efb\u4f55\u57fa\u4e8eset\u7684\u64cd\u4f5c\u4e4b\u524d\uff0c\u5148\u68c0\u67e5\u5176\u662f\u5426\u4e3a\u7a7a\u3002\u8fd9\u4e0d\u4ec5\u53ef\u4ee5\u907f\u514d\u6f5c\u5728\u7684\u9519\u8bef\uff0c\u8fd8\u80fd\u786e\u4fdd\u4ee3\u7801\u7684\u5065\u58ee\u6027\u3002\u4f8b\u5982\uff1a<\/p>\n<pre><code class=\"language-python\">my_set = set()\nif my_set:\n    # \u8fdb\u884c\u4e00\u4e9b\u64cd\u4f5c\n    print(&quot;Processing set&quot;)\nelse:\n    print(&quot;No elements to process&quot;)\n<\/code><\/pre>\n<p>\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u53ef\u4ee5\u6709\u6548\u907f\u514d\u5bf9\u7a7aset\u7684\u8bef\u64cd\u4f5c\uff0c\u540c\u65f6\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5224\u65ad\u4e00\u4e2aPython set\u662f\u5426\u4e3a\u7a7a\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u6cd5\uff1a\u4f7f\u7528\u5e03\u5c14\u4e0a\u4e0b\u6587\u3001\u4f7f\u7528len()\u51fd\u6570\u3001\u4f7f\u7528\u6bd4\u8f83\u8fd0\u7b97\u7b26\u3001\u4f7f\u7528 [&hellip;]","protected":false},"author":3,"featured_media":1107482,"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\/1107466"}],"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=1107466"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1107466\/revisions"}],"predecessor-version":[{"id":1107483,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1107466\/revisions\/1107483"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1107482"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1107466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1107466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1107466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}