{"id":1005191,"date":"2024-12-27T10:33:33","date_gmt":"2024-12-27T02:33:33","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1005191.html"},"modified":"2024-12-27T10:33:37","modified_gmt":"2024-12-27T02:33:37","slug":"python%e9%87%8c%e5%85%83%e7%b4%a0%e5%a6%82%e4%bd%95%e8%a1%a8%e8%be%be","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1005191.html","title":{"rendered":"python\u91cc\u5143\u7d20\u5982\u4f55\u8868\u8fbe"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25081825\/a2230e61-5bad-41a3-aa57-f5c493c556ac.webp\" alt=\"python\u91cc\u5143\u7d20\u5982\u4f55\u8868\u8fbe\" \/><\/p>\n<p><p> \u5728Python\u4e2d\uff0c\u5143\u7d20\u7684\u8868\u8fbe\u901a\u5e38\u6d89\u53ca\u5230\u6570\u636e\u7c7b\u578b\u548c\u6570\u636e\u7ed3\u6784\u3002<strong>Python\u4e2d\u7684\u5143\u7d20\u53ef\u4ee5\u901a\u8fc7\u5217\u8868\u3001\u5143\u7ec4\u3001\u96c6\u5408\u548c\u5b57\u5178\u6765\u8fdb\u884c\u8868\u8fbe\uff0c\u6bcf\u79cd\u6570\u636e\u7ed3\u6784\u90fd\u6709\u5176\u7279\u5b9a\u7684\u7528\u9014\u548c\u65b9\u6cd5\u3002<\/strong>\u5176\u4e2d\uff0c\u5217\u8868\u548c\u5143\u7ec4\u7528\u4e8e\u5b58\u50a8\u6709\u5e8f\u7684\u5143\u7d20\u96c6\u5408\uff0c\u96c6\u5408\u7528\u4e8e\u5b58\u50a8\u65e0\u5e8f\u7684\u552f\u4e00\u5143\u7d20\uff0c\u5b57\u5178\u5219\u7528\u4e8e\u5b58\u50a8\u952e\u503c\u5bf9\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u8fd9\u4e9b\u6570\u636e\u7ed3\u6784\u6765\u8868\u8fbe\u5143\u7d20\uff0c\u5e76\u63a2\u8ba8\u6bcf\u79cd\u6570\u636e\u7ed3\u6784\u7684\u4f18\u7f3a\u70b9\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5217\u8868\uff08LIST\uff09<\/p>\n<\/p>\n<p><p>\u5217\u8868\u662fPython\u4e2d\u6700\u5e38\u7528\u7684\u6570\u636e\u7ed3\u6784\u4e4b\u4e00\uff0c\u7528\u4e8e\u5b58\u50a8\u6709\u5e8f\u7684\u5143\u7d20\u96c6\u5408\u3002\u5217\u8868\u4e2d\u7684\u5143\u7d20\u53ef\u4ee5\u662f\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\uff0c\u5982\u6574\u6570\u3001\u5b57\u7b26\u4e32\u3001\u6d6e\u70b9\u6570\uff0c\u751a\u81f3\u662f\u5176\u4ed6\u5217\u8868\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5217\u8868\u7684\u521b\u5efa\u4e0e\u8bbf\u95ee<\/li>\n<\/ol>\n<p><p>\u5728Python\u4e2d\uff0c\u5217\u8868\u4f7f\u7528\u65b9\u62ec\u53f7[]\u6765\u521b\u5efa\uff0c\u53ef\u4ee5\u5305\u542b\u4efb\u610f\u6570\u91cf\u7684\u5143\u7d20\u3002\u5217\u8868\u4e2d\u7684\u5143\u7d20\u662f\u6709\u5e8f\u7684\uff0c\u5e76\u4e14\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u8fdb\u884c\u8bbf\u95ee\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u5217\u8868<\/p>\n<p>my_list = [1, 2, 3, &#39;Python&#39;, 3.14]<\/p>\n<h2><strong>\u8bbf\u95ee\u5217\u8868\u4e2d\u7684\u5143\u7d20<\/strong><\/h2>\n<p>first_element = my_list[0]  # 1<\/p>\n<p>last_element = my_list[-1]  # 3.14<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u5217\u8868\u7684\u5e38\u7528\u64cd\u4f5c<\/li>\n<\/ol>\n<p><p>\u5217\u8868\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u65b9\u6cd5\u7528\u4e8e\u64cd\u4f5c\u5143\u7d20\uff0c\u6bd4\u5982\u6dfb\u52a0\u3001\u5220\u9664\u3001\u4fee\u6539\u548c\u6392\u5e8f\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u6dfb\u52a0\u5143\u7d20<\/p>\n<p>my_list.append(&#39;New Element&#39;)<\/p>\n<p>my_list.insert(1, &#39;Insert Element&#39;)<\/p>\n<h2><strong>\u5220\u9664\u5143\u7d20<\/strong><\/h2>\n<p>my_list.remove(&#39;Python&#39;)<\/p>\n<p>popped_element = my_list.pop()<\/p>\n<h2><strong>\u4fee\u6539\u5143\u7d20<\/strong><\/h2>\n<p>my_list[0] = 100<\/p>\n<h2><strong>\u5217\u8868\u6392\u5e8f<\/strong><\/h2>\n<p>my_list.sort()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u5217\u8868\u7684\u4f18\u70b9\u5728\u4e8e\u5176\u7075\u6d3b\u6027\uff0c\u53ef\u4ee5\u52a8\u6001\u5730\u589e\u5220\u5143\u7d20\uff0c\u7f3a\u70b9\u662f\u5f53\u5217\u8868\u5f88\u5927\u65f6\uff0c\u67d0\u4e9b\u64cd\u4f5c\uff08\u5982\u63d2\u5165\u6216\u5220\u9664\uff09\u53ef\u80fd\u4f1a\u53d8\u5f97\u7f13\u6162\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u5143\u7ec4\uff08TUPLE\uff09<\/p>\n<\/p>\n<p><p>\u5143\u7ec4\u4e0e\u5217\u8868\u7c7b\u4f3c\uff0c\u4f46\u5143\u7ec4\u662f\u4e0d\u53ef\u53d8\u7684\uff0c\u8fd9\u610f\u5473\u7740\u4e00\u65e6\u521b\u5efa\uff0c\u5143\u7ec4\u4e2d\u7684\u5143\u7d20\u4e0d\u80fd\u88ab\u4fee\u6539\u3002\u8fd9\u79cd\u7279\u6027\u4f7f\u5f97\u5143\u7ec4\u9002\u5408\u7528\u4e8e\u5b58\u50a8\u4e0d\u9700\u8981\u6539\u53d8\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5143\u7ec4\u7684\u521b\u5efa\u4e0e\u8bbf\u95ee<\/li>\n<\/ol>\n<p><p>\u5143\u7ec4\u4f7f\u7528\u5706\u62ec\u53f7()\u6765\u521b\u5efa\uff0c\u8bbf\u95ee\u5143\u7d20\u7684\u65b9\u5f0f\u4e0e\u5217\u8868\u76f8\u540c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u5143\u7ec4<\/p>\n<p>my_tuple = (1, 2, 3, &#39;Python&#39;, 3.14)<\/p>\n<h2><strong>\u8bbf\u95ee\u5143\u7ec4\u4e2d\u7684\u5143\u7d20<\/strong><\/h2>\n<p>first_element = my_tuple[0]  # 1<\/p>\n<p>last_element = my_tuple[-1]  # 3.14<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u5143\u7ec4\u7684\u7279\u6027<\/li>\n<\/ol>\n<p><p>\u7531\u4e8e\u5143\u7ec4\u662f\u4e0d\u53ef\u53d8\u7684\uff0c\u56e0\u6b64\u6ca1\u6709\u6dfb\u52a0\u3001\u5220\u9664\u6216\u4fee\u6539\u7684\u65b9\u6cd5\u3002\u4f46\u662f\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u8bbf\u95ee\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5c1d\u8bd5\u4fee\u6539\u5143\u7ec4\u5143\u7d20\u4f1a\u5bfc\u81f4\u9519\u8bef<\/p>\n<h2><strong>my_tuple[0] = 100  # TypeError: &#39;tuple&#39; object does not support item assignment<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u5143\u7ec4\u7684\u4f18\u70b9\u5728\u4e8e\u5176\u4e0d\u53ef\u53d8\u6027\uff0c\u8fd9\u4f7f\u5f97\u5143\u7ec4\u5728\u9700\u8981\u4fdd\u8bc1\u6570\u636e\u5b89\u5168\u7684\u60c5\u51b5\u4e0b\u975e\u5e38\u6709\u7528\uff0c\u540c\u65f6\u7531\u4e8e\u4e0d\u53ef\u53d8\u6027\uff0c\u5143\u7ec4\u901a\u5e38\u6bd4\u5217\u8868\u66f4\u9ad8\u6548\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e09\u3001\u96c6\u5408\uff08SET\uff09<\/p>\n<\/p>\n<p><p>\u96c6\u5408\u662f\u4e00\u79cd\u65e0\u5e8f\u7684\u3001\u4e0d\u53ef\u91cd\u590d\u7684\u6570\u636e\u7ed3\u6784\uff0c\u7528\u4e8e\u5b58\u50a8\u552f\u4e00\u7684\u5143\u7d20\u3002\u96c6\u5408\u7684\u4e3b\u8981\u7528\u9014\u662f\u53bb\u91cd\u548c\u96c6\u5408\u8fd0\u7b97\u3002<\/p>\n<\/p>\n<ol>\n<li>\u96c6\u5408\u7684\u521b\u5efa\u4e0e\u57fa\u672c\u64cd\u4f5c<\/li>\n<\/ol>\n<p><p>\u96c6\u5408\u4f7f\u7528\u5927\u62ec\u53f7{}\u6216set()\u51fd\u6570\u6765\u521b\u5efa\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u96c6\u5408<\/p>\n<p>my_set = {1, 2, 3, 4, &#39;Python&#39;}<\/p>\n<h2><strong>\u6dfb\u52a0\u5143\u7d20<\/strong><\/h2>\n<p>my_set.add(&#39;New Element&#39;)<\/p>\n<h2><strong>\u5220\u9664\u5143\u7d20<\/strong><\/h2>\n<p>my_set.remove(3)<\/p>\n<h2><strong>\u96c6\u5408\u8fd0\u7b97<\/strong><\/h2>\n<p>another_set = {3, 4, 5, 6}<\/p>\n<p>intersection = my_set &amp; another_set  # \u4ea4\u96c6<\/p>\n<p>union = my_set | another_set         # \u5e76\u96c6<\/p>\n<p>difference = my_set - another_set    # \u5dee\u96c6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u96c6\u5408\u7684\u4f18\u70b9\u5728\u4e8e\u5feb\u901f\u7684\u6210\u5458\u68c0\u6d4b\u548c\u53bb\u91cd\u529f\u80fd\uff0c\u7f3a\u70b9\u662f\u7531\u4e8e\u65e0\u5e8f\u6027\uff0c\u4e0d\u80fd\u901a\u8fc7\u7d22\u5f15\u8bbf\u95ee\u5143\u7d20\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u56db\u3001\u5b57\u5178\uff08DICTIONARY\uff09<\/p>\n<\/p>\n<p><p>\u5b57\u5178\u662f\u4e00\u79cd\u7528\u4e8e\u5b58\u50a8\u952e\u503c\u5bf9\u7684\u6570\u636e\u7ed3\u6784\uff0c\u952e\u5fc5\u987b\u662f\u552f\u4e00\u7684\uff0c\u5e76\u4e14\u901a\u5e38\u662f\u4e0d\u53ef\u53d8\u7c7b\u578b\uff08\u5982\u5b57\u7b26\u4e32\u3001\u6570\u5b57\u3001\u5143\u7ec4\uff09\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5b57\u5178\u7684\u521b\u5efa\u4e0e\u8bbf\u95ee<\/li>\n<\/ol>\n<p><p>\u5b57\u5178\u4f7f\u7528\u5927\u62ec\u53f7{}\u521b\u5efa\uff0c\u952e\u503c\u5bf9\u4ee5\u952e:\u503c\u7684\u5f62\u5f0f\u5b58\u5728\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u5b57\u5178<\/p>\n<p>my_dict = {&#39;name&#39;: &#39;Alice&#39;, &#39;age&#39;: 25, &#39;city&#39;: &#39;New York&#39;}<\/p>\n<h2><strong>\u8bbf\u95ee\u5b57\u5178\u4e2d\u7684\u503c<\/strong><\/h2>\n<p>name = my_dict[&#39;name&#39;]  # &#39;Alice&#39;<\/p>\n<h2><strong>\u4fee\u6539\u5b57\u5178\u4e2d\u7684\u503c<\/strong><\/h2>\n<p>my_dict[&#39;age&#39;] = 26<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u5b57\u5178\u7684\u5e38\u7528\u64cd\u4f5c<\/li>\n<\/ol>\n<p><p>\u5b57\u5178\u63d0\u4f9b\u4e86\u7528\u4e8e\u6dfb\u52a0\u3001\u5220\u9664\u548c\u83b7\u53d6\u952e\u503c\u5bf9\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u6dfb\u52a0\u65b0\u7684\u952e\u503c\u5bf9<\/p>\n<p>my_dict[&#39;em<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>l&#39;] = &#39;alice@example.com&#39;<\/p>\n<h2><strong>\u5220\u9664\u952e\u503c\u5bf9<\/strong><\/h2>\n<p>del my_dict[&#39;city&#39;]<\/p>\n<h2><strong>\u83b7\u53d6\u6240\u6709\u7684\u952e\u6216\u503c<\/strong><\/h2>\n<p>keys = my_dict.keys()<\/p>\n<p>values = my_dict.values()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u5b57\u5178\u7684\u4f18\u70b9\u5728\u4e8e\u5feb\u901f\u7684\u952e\u503c\u5bf9\u67e5\u627e\uff0c\u7f3a\u70b9\u662f\u952e\u5fc5\u987b\u662f\u4e0d\u53ef\u53d8\u7c7b\u578b\uff0c\u5e76\u4e14\u5b57\u5178\u4e0d\u652f\u6301\u6709\u5e8f\u64cd\u4f5c\uff08\u5728Python 3.7\u4e4b\u524d\uff09\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e94\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u5143\u7d20\u7684\u8868\u8fbe\u65b9\u5f0f\u591a\u79cd\u591a\u6837\uff0c\u6bcf\u79cd\u6570\u636e\u7ed3\u6784\u90fd\u6709\u5176\u7279\u5b9a\u7684\u7528\u9014\u548c\u4f18\u52bf\u3002<strong>\u5217\u8868\u9002\u5408\u5b58\u50a8\u6709\u5e8f\u4e14\u53ef\u53d8\u7684\u5143\u7d20\u96c6\uff0c\u5143\u7ec4\u9002\u5408\u5b58\u50a8\u4e0d\u9700\u8981\u6539\u53d8\u7684\u6709\u5e8f\u6570\u636e\uff0c\u96c6\u5408\u7528\u4e8e\u53bb\u91cd\u548c\u96c6\u5408\u8fd0\u7b97\uff0c\u5b57\u5178\u5219\u7528\u4e8e\u5b58\u50a8\u952e\u503c\u5bf9\u3002<\/strong>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u7ed3\u6784\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u6548\u7387\u548c\u53ef\u8bfb\u6027\u3002\u6b64\u5916\uff0c\u7406\u89e3\u6bcf\u79cd\u6570\u636e\u7ed3\u6784\u7684\u7279\u6027\u548c\u64cd\u4f5c\u65b9\u6cd5\u662f\u638c\u63e1Python\u7f16\u7a0b\u7684\u91cd\u8981\u57fa\u7840\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Python\u4e2d\uff0c\u5143\u7d20\u53ef\u4ee5\u901a\u8fc7\u54ea\u4e9b\u6570\u636e\u7ed3\u6784\u8fdb\u884c\u8868\u8fbe\uff1f<\/strong><br \/>Python\u63d0\u4f9b\u4e86\u591a\u79cd\u6570\u636e\u7ed3\u6784\u6765\u8868\u8fbe\u5143\u7d20\uff0c\u5305\u62ec\u5217\u8868\u3001\u5143\u7ec4\u3001\u96c6\u5408\u548c\u5b57\u5178\u3002\u5217\u8868\u662f\u6709\u5e8f\u7684\u53ef\u53d8\u96c6\u5408\uff0c\u9002\u5408\u5b58\u50a8\u591a\u4e2a\u5143\u7d20\uff1b\u5143\u7ec4\u662f\u6709\u5e8f\u7684\u4e0d\u53ef\u53d8\u96c6\u5408\uff0c\u9002\u7528\u4e8e\u9700\u8981\u4fdd\u62a4\u6570\u636e\u4e0d\u88ab\u4fee\u6539\u7684\u573a\u666f\uff1b\u96c6\u5408\u662f\u65e0\u5e8f\u4e14\u4e0d\u91cd\u590d\u7684\u5143\u7d20\u96c6\uff0c\u9002\u5408\u8fdb\u884c\u6570\u5b66\u8fd0\u7b97\uff1b\u5b57\u5178\u5219\u662f\u952e\u503c\u5bf9\u7684\u96c6\u5408\uff0c\u4fbf\u4e8e\u5feb\u901f\u67e5\u627e\u548c\u5b58\u50a8\u5173\u8054\u6570\u636e\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u5b9a\u4e49\u548c\u64cd\u4f5c\u5217\u8868\u5143\u7d20\uff1f<\/strong><br \/>\u5b9a\u4e49\u5217\u8868\u975e\u5e38\u7b80\u5355\uff0c\u53ef\u4ee5\u4f7f\u7528\u65b9\u62ec\u53f7\u6765\u521b\u5efa\uff0c\u4f8b\u5982 <code>my_list = [1, 2, 3]<\/code>\u3002\u5217\u8868\u652f\u6301\u591a\u79cd\u64cd\u4f5c\uff0c\u5982\u6dfb\u52a0\u5143\u7d20\uff08\u4f7f\u7528 <code>append()<\/code> \u6216 <code>extend()<\/code> \u65b9\u6cd5\uff09\u3001\u63d2\u5165\u5143\u7d20\uff08\u4f7f\u7528 <code>insert()<\/code> \u65b9\u6cd5\uff09\u3001\u5220\u9664\u5143\u7d20\uff08\u4f7f\u7528 <code>remove()<\/code> \u6216 <code>pop()<\/code> \u65b9\u6cd5\uff09\u7b49\u3002\u6b64\u5916\uff0c\u5217\u8868\u8fd8\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u6765\u8bbf\u95ee\u548c\u4fee\u6539\u7279\u5b9a\u7684\u5143\u7d20\uff0c\u7075\u6d3b\u6027\u6781\u9ad8\u3002<\/p>\n<p><strong>Python\u4e2d\u5982\u4f55\u6709\u6548\u7ba1\u7406\u5b57\u5178\u5143\u7d20\uff1f<\/strong><br \/>\u5b57\u5178\u4f7f\u7528\u5927\u62ec\u53f7\u6765\u5b9a\u4e49\uff0c\u4f8b\u5982 <code>my_dict = {&#39;name&#39;: &#39;Alice&#39;, &#39;age&#39;: 25}<\/code>\u3002\u5728\u5b57\u5178\u4e2d\uff0c\u5143\u7d20\u4ee5\u952e\u503c\u5bf9\u7684\u5f62\u5f0f\u5b58\u5728\uff0c\u53ef\u4ee5\u901a\u8fc7\u952e\u6765\u5feb\u901f\u8bbf\u95ee\u5bf9\u5e94\u7684\u503c\u3002\u53ef\u4ee5\u4f7f\u7528 <code>update()<\/code> \u65b9\u6cd5\u6765\u6dfb\u52a0\u6216\u66f4\u65b0\u5143\u7d20\uff0c\u4f7f\u7528 <code>pop()<\/code> \u65b9\u6cd5\u6765\u5220\u9664\u6307\u5b9a\u7684\u952e\u503c\u5bf9\u3002\u638c\u63e1\u5b57\u5178\u7684\u4f7f\u7528\u80fd\u591f\u5927\u5927\u63d0\u9ad8\u6570\u636e\u5904\u7406\u7684\u6548\u7387\u548c\u7075\u6d3b\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u5143\u7d20\u7684\u8868\u8fbe\u901a\u5e38\u6d89\u53ca\u5230\u6570\u636e\u7c7b\u578b\u548c\u6570\u636e\u7ed3\u6784\u3002Python\u4e2d\u7684\u5143\u7d20\u53ef\u4ee5\u901a\u8fc7\u5217\u8868\u3001\u5143\u7ec4\u3001\u96c6\u5408\u548c\u5b57\u5178\u6765 [&hellip;]","protected":false},"author":3,"featured_media":1005200,"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\/1005191"}],"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=1005191"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1005191\/revisions"}],"predecessor-version":[{"id":1005202,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1005191\/revisions\/1005202"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1005200"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1005191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1005191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1005191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}