{"id":1174841,"date":"2025-01-15T17:23:42","date_gmt":"2025-01-15T09:23:42","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1174841.html"},"modified":"2025-01-15T17:23:45","modified_gmt":"2025-01-15T09:23:45","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e7%94%a8%e8%a1%a8%e7%a4%ba%e9%a1%ba%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1174841.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u7528\u8868\u793a\u987a\u5e8f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25110457\/a3019e82-b06c-437d-9d79-869f08f8bbfb.webp\" alt=\"python\u4e2d\u5982\u4f55\u7528\u8868\u793a\u987a\u5e8f\" \/><\/p>\n<p><p> \u5728 Python \u4e2d\u8868\u793a\u987a\u5e8f\u7684\u5e38\u89c1\u65b9\u5f0f\u6709\uff1a<strong>\u5217\u8868\u3001\u5143\u7ec4\u3001range \u5bf9\u8c61\u3001deque \u5bf9\u8c61<\/strong>\u3002\u5176\u4e2d\uff0c<strong>\u5217\u8868<\/strong>\u662f\u6700\u5e38\u7528\u7684\u4e00\u79cd\u65b9\u5f0f\uff0c\u56e0\u4e3a\u5b83\u652f\u6301\u591a\u79cd\u6570\u636e\u64cd\u4f5c\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5217\u8868\u7684\u4f7f\u7528\u53ca\u5176\u5e38\u89c1\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5217\u8868\uff08List\uff09<\/h3>\n<\/p>\n<p><h4>1. \u5217\u8868\u7684\u57fa\u672c\u64cd\u4f5c<\/h4>\n<\/p>\n<p><p><strong>\u5217\u8868<\/strong>\u662f Python \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\u4efb\u610f\u7c7b\u578b\uff0c\u4e14\u5217\u8868\u662f\u53ef\u53d8\u7684\uff0c\u5373\u53ef\u4ee5\u5bf9\u5176\u8fdb\u884c\u6dfb\u52a0\u3001\u5220\u9664\u548c\u4fee\u6539\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u5217\u8868<\/p>\n<p>my_list = [1, 2, 3, 4, 5]<\/p>\n<h2><strong>\u8bbf\u95ee\u5217\u8868\u5143\u7d20<\/strong><\/h2>\n<p>print(my_list[0])  # \u8f93\u51fa\uff1a1<\/p>\n<h2><strong>\u4fee\u6539\u5217\u8868\u5143\u7d20<\/strong><\/h2>\n<p>my_list[0] = 10<\/p>\n<p>print(my_list)  # \u8f93\u51fa\uff1a[10, 2, 3, 4, 5]<\/p>\n<h2><strong>\u6dfb\u52a0\u5143\u7d20<\/strong><\/h2>\n<p>my_list.append(6)<\/p>\n<p>print(my_list)  # \u8f93\u51fa\uff1a[10, 2, 3, 4, 5, 6]<\/p>\n<h2><strong>\u5220\u9664\u5143\u7d20<\/strong><\/h2>\n<p>my_list.remove(10)<\/p>\n<p>print(my_list)  # \u8f93\u51fa\uff1a[2, 3, 4, 5, 6]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u5217\u8868\u7684\u9ad8\u7ea7\u64cd\u4f5c<\/h4>\n<\/p>\n<p><p><strong>\u5217\u8868<\/strong>\u652f\u6301\u8bb8\u591a\u9ad8\u7ea7\u64cd\u4f5c\uff0c\u5982\u5207\u7247\u3001\u5217\u8868\u63a8\u5bfc\u5f0f\u3001\u5185\u7f6e\u65b9\u6cd5\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5207\u7247\u64cd\u4f5c<\/p>\n<p>sub_list = my_list[1:4]<\/p>\n<p>print(sub_list)  # \u8f93\u51fa\uff1a[3, 4, 5]<\/p>\n<h2><strong>\u5217\u8868\u63a8\u5bfc\u5f0f<\/strong><\/h2>\n<p>squares = [x2 for x in range(1, 6)]<\/p>\n<p>print(squares)  # \u8f93\u51fa\uff1a[1, 4, 9, 16, 25]<\/p>\n<h2><strong>\u5185\u7f6e\u65b9\u6cd5<\/strong><\/h2>\n<p>my_list.sort()<\/p>\n<p>print(my_list)  # \u8f93\u51fa\uff1a[2, 3, 4, 5, 6]<\/p>\n<p>my_list.reverse()<\/p>\n<p>print(my_list)  # \u8f93\u51fa\uff1a[6, 5, 4, 3, 2]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u5143\u7ec4\uff08Tuple\uff09<\/h3>\n<\/p>\n<p><h4>1. \u5143\u7ec4\u7684\u57fa\u672c\u64cd\u4f5c<\/h4>\n<\/p>\n<p><p><strong>\u5143\u7ec4<\/strong>\u4e0e\u5217\u8868\u7c7b\u4f3c\uff0c\u4f46\u5143\u7ec4\u662f\u4e0d\u53ef\u53d8\u7684\uff0c\u5373\u521b\u5efa\u4e4b\u540e\u4e0d\u80fd\u4fee\u6539\u5176\u5185\u5bb9\u3002\u8fd9\u4f7f\u5f97\u5143\u7ec4\u5728\u9700\u8981\u4fdd\u62a4\u6570\u636e\u4e0d\u88ab\u4fee\u6539\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u5143\u7ec4<\/p>\n<p>my_tuple = (1, 2, 3, 4, 5)<\/p>\n<h2><strong>\u8bbf\u95ee\u5143\u7ec4\u5143\u7d20<\/strong><\/h2>\n<p>print(my_tuple[0])  # \u8f93\u51fa\uff1a1<\/p>\n<h2><strong>\u5c1d\u8bd5\u4fee\u6539\u5143\u7ec4\u5143\u7d20\uff08\u4f1a\u62a5\u9519\uff09<\/strong><\/h2>\n<h2><strong>my_tuple[0] = 10  # TypeError: &#39;tuple&#39; object does not support item assignment<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u5143\u7ec4\u7684\u9ad8\u7ea7\u64cd\u4f5c<\/h4>\n<\/p>\n<p><p>\u5c3d\u7ba1\u5143\u7ec4\u662f\u4e0d\u53ef\u53d8\u7684\uff0c\u4f46\u6211\u4eec\u4ecd\u53ef\u4ee5\u8fdb\u884c\u4e00\u4e9b\u64cd\u4f5c\uff0c\u5982\u8fde\u63a5\u3001\u5207\u7247\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u8fde\u63a5\u5143\u7ec4<\/p>\n<p>another_tuple = (6, 7, 8)<\/p>\n<p>combined_tuple = my_tuple + another_tuple<\/p>\n<p>print(combined_tuple)  # \u8f93\u51fa\uff1a(1, 2, 3, 4, 5, 6, 7, 8)<\/p>\n<h2><strong>\u5207\u7247\u64cd\u4f5c<\/strong><\/h2>\n<p>sub_tuple = my_tuple[1:4]<\/p>\n<p>print(sub_tuple)  # \u8f93\u51fa\uff1a(2, 3, 4)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001range \u5bf9\u8c61<\/h3>\n<\/p>\n<p><h4>1. range \u5bf9\u8c61\u7684\u57fa\u672c\u64cd\u4f5c<\/h4>\n<\/p>\n<p><p><strong>range \u5bf9\u8c61<\/strong>\u901a\u5e38\u7528\u4e8e\u751f\u6210\u4e00\u7cfb\u5217\u6570\u5b57\uff0c\u5c24\u5176\u5728 for \u5faa\u73af\u4e2d\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa range \u5bf9\u8c61<\/p>\n<p>my_range = range(1, 6)<\/p>\n<h2><strong>\u8bbf\u95ee range \u5bf9\u8c61\u5143\u7d20<\/strong><\/h2>\n<p>for i in my_range:<\/p>\n<p>    print(i)<\/p>\n<h2><strong>\u8f93\u51fa\uff1a1 2 3 4 5<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. range \u5bf9\u8c61\u7684\u9ad8\u7ea7\u64cd\u4f5c<\/h4>\n<\/p>\n<p><p><strong>range \u5bf9\u8c61<\/strong>\u4e5f\u652f\u6301\u4e00\u4e9b\u9ad8\u7ea7\u64cd\u4f5c\uff0c\u5982\u6b65\u957f\u548c\u53cd\u5411\u751f\u6210\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5e26\u6b65\u957f\u7684 range \u5bf9\u8c61<\/p>\n<p>my_range_with_step = range(1, 10, 2)<\/p>\n<p>for i in my_range_with_step:<\/p>\n<p>    print(i)<\/p>\n<h2><strong>\u8f93\u51fa\uff1a1 3 5 7 9<\/strong><\/h2>\n<h2><strong>\u53cd\u5411\u751f\u6210<\/strong><\/h2>\n<p>reverse_range = range(10, 0, -1)<\/p>\n<p>for i in reverse_range:<\/p>\n<p>    print(i)<\/p>\n<h2><strong>\u8f93\u51fa\uff1a10 9 8 7 6 5 4 3 2 1<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001deque \u5bf9\u8c61<\/h3>\n<\/p>\n<p><h4>1. deque \u5bf9\u8c61\u7684\u57fa\u672c\u64cd\u4f5c<\/h4>\n<\/p>\n<p><p><strong>deque \u5bf9\u8c61<\/strong>\u662f collections \u6a21\u5757\u4e2d\u7684\u53cc\u7aef\u961f\u5217\uff0c\u652f\u6301\u5728\u4e24\u7aef\u5feb\u901f\u6dfb\u52a0\u548c\u5220\u9664\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from collections import deque<\/p>\n<h2><strong>\u521b\u5efa deque \u5bf9\u8c61<\/strong><\/h2>\n<p>my_deque = deque([1, 2, 3, 4, 5])<\/p>\n<h2><strong>\u8bbf\u95ee deque \u5bf9\u8c61\u5143\u7d20<\/strong><\/h2>\n<p>print(my_deque[0])  # \u8f93\u51fa\uff1a1<\/p>\n<h2><strong>\u6dfb\u52a0\u5143\u7d20<\/strong><\/h2>\n<p>my_deque.append(6)<\/p>\n<p>print(my_deque)  # \u8f93\u51fa\uff1adeque([1, 2, 3, 4, 5, 6])<\/p>\n<h2><strong>\u5220\u9664\u5143\u7d20<\/strong><\/h2>\n<p>my_deque.pop()<\/p>\n<p>print(my_deque)  # \u8f93\u51fa\uff1adeque([1, 2, 3, 4, 5])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. deque \u5bf9\u8c61\u7684\u9ad8\u7ea7\u64cd\u4f5c<\/h4>\n<\/p>\n<p><p><strong>deque \u5bf9\u8c61<\/strong>\u8fd8\u652f\u6301\u4e00\u4e9b\u9ad8\u7ea7\u64cd\u4f5c\uff0c\u5982\u5728\u5de6\u7aef\u6dfb\u52a0\u548c\u5220\u9664\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5728\u5de6\u7aef\u6dfb\u52a0\u5143\u7d20<\/p>\n<p>my_deque.appendleft(0)<\/p>\n<p>print(my_deque)  # \u8f93\u51fa\uff1adeque([0, 1, 2, 3, 4, 5])<\/p>\n<h2><strong>\u5728\u5de6\u7aef\u5220\u9664\u5143\u7d20<\/strong><\/h2>\n<p>my_deque.popleft()<\/p>\n<p>print(my_deque)  # \u8f93\u51fa\uff1adeque([1, 2, 3, 4, 5])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728 Python \u4e2d\u8868\u793a\u987a\u5e8f\u7684\u65b9\u5f0f\u591a\u79cd\u591a\u6837\uff0c<strong>\u5217\u8868\u3001\u5143\u7ec4\u3001range \u5bf9\u8c61\u3001deque \u5bf9\u8c61<\/strong>\u5404\u6709\u5176\u72ec\u7279\u7684\u7279\u70b9\u548c\u5e94\u7528\u573a\u666f\u3002<strong>\u5217\u8868<\/strong>\u662f\u6700\u5e38\u7528\u7684\u4e00\u79cd\u65b9\u5f0f\uff0c\u56e0\u4e3a\u5b83\u652f\u6301\u591a\u79cd\u6570\u636e\u64cd\u4f5c\u548c\u7075\u6d3b\u6027\u3002<strong>\u5143\u7ec4<\/strong>\u9002\u7528\u4e8e\u9700\u8981\u4e0d\u53ef\u53d8\u6570\u636e\u7684\u573a\u666f\uff0c<strong>range \u5bf9\u8c61<\/strong>\u901a\u5e38\u7528\u4e8e\u751f\u6210\u4e00\u7cfb\u5217\u6570\u5b57\uff0c\u7279\u522b\u9002\u5408\u5728\u5faa\u73af\u4e2d\u4f7f\u7528\uff0c\u800c<strong>deque \u5bf9\u8c61<\/strong>\u5219\u5728\u9700\u8981\u9ad8\u6548\u7684\u4e24\u7aef\u64cd\u4f5c\u65f6\u975e\u5e38\u6709\u7528\u3002\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<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u4f7f\u7528\u5217\u8868\u6765\u8868\u793a\u6709\u5e8f\u7684\u6570\u636e\uff1f<\/strong><br \/>\u5217\u8868\u662fPython\u4e2d\u4e00\u79cd\u975e\u5e38\u5e38\u7528\u7684\u6570\u636e\u7ed3\u6784\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u5b58\u50a8\u6709\u5e8f\u7684\u6570\u636e\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u65b9\u62ec\u53f7\u521b\u5efa\u4e00\u4e2a\u5217\u8868\uff0c\u5e76\u901a\u8fc7\u7d22\u5f15\u8bbf\u95ee\u5176\u4e2d\u7684\u5143\u7d20\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\u751a\u81f3\u5176\u4ed6\u5217\u8868\u3002\u8981\u6dfb\u52a0\u3001\u5220\u9664\u6216\u4fee\u6539\u5143\u7d20\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u76f8\u5e94\u7684\u65b9\u6cd5\uff0c\u5982<code>append()<\/code>\u3001<code>remove()<\/code>\u6216\u76f4\u63a5\u901a\u8fc7\u7d22\u5f15\u8d4b\u503c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u5143\u7ec4\u6765\u8868\u793a\u4e0d\u53d8\u7684\u6709\u5e8f\u6570\u636e\uff1f<\/strong><br \/>\u5143\u7ec4\u662f\u53e6\u4e00\u79cd\u6709\u5e8f\u6570\u636e\u7ed3\u6784\uff0c\u4e0e\u5217\u8868\u76f8\u4f3c\uff0c\u4f46\u5b83\u662f\u4e0d\u53ef\u53d8\u7684\u3002\u8fd9\u610f\u5473\u7740\u4e00\u65e6\u521b\u5efa\u5143\u7ec4\uff0c\u5c31\u4e0d\u80fd\u4fee\u6539\u5b83\u7684\u5185\u5bb9\u3002\u5143\u7ec4\u901a\u5e38\u7528\u4e8e\u5b58\u50a8\u56fa\u5b9a\u7684\u96c6\u5408\uff0c\u5982\u5750\u6807\u70b9\u6216\u6570\u636e\u5e93\u8bb0\u5f55\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u5c0f\u62ec\u53f7\u521b\u5efa\u5143\u7ec4\uff0c\u5e76\u901a\u8fc7\u7d22\u5f15\u8bbf\u95ee\u5143\u7d20\u3002\u56e0\u4e3a\u5143\u7ec4\u662f\u4e0d\u53ef\u53d8\u7684\uff0c\u6240\u4ee5\u5b83\u4eec\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u6bd4\u5217\u8868\u66f4\u5b89\u5168\u548c\u9ad8\u6548\u3002<\/p>\n<p><strong>Python\u4e2d\u5982\u4f55\u901a\u8fc7\u5b57\u5178\u6765\u8868\u793a\u6709\u5e8f\u6570\u636e\uff1f<\/strong><br \/>\u5b57\u5178\u662fPython\u4e2d\u7684\u4e00\u79cd\u952e\u503c\u5bf9\u6570\u636e\u7ed3\u6784\uff0cPython 3.7\u53ca\u4ee5\u540e\u7684\u7248\u672c\u4fdd\u8bc1\u5b57\u5178\u662f\u6709\u5e8f\u7684\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u5927\u62ec\u53f7\u521b\u5efa\u4e00\u4e2a\u5b57\u5178\uff0c\u952e\u5fc5\u987b\u662f\u552f\u4e00\u7684\uff0c\u800c\u503c\u53ef\u4ee5\u662f\u4efb\u610f\u7c7b\u578b\u7684\u6570\u636e\u3002\u901a\u8fc7\u952e\u53ef\u4ee5\u5feb\u901f\u8bbf\u95ee\u5bf9\u5e94\u7684\u503c\u3002\u5b57\u5178\u901a\u5e38\u7528\u4e8e\u9700\u8981\u5feb\u901f\u67e5\u627e\u7684\u573a\u666f\uff0c\u5982\u5b58\u50a8\u7528\u6237\u4fe1\u606f\u6216\u914d\u7f6e\u8bbe\u7f6e\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u96c6\u5408\u6765\u5904\u7406\u6709\u5e8f\u6570\u636e\uff1f<\/strong><br \/>\u96c6\u5408\u662f\u4e00\u79cd\u65e0\u5e8f\u7684\u6570\u636e\u7ed3\u6784\uff0c\u4f46\u5728Python 3.7\u53ca\u4ee5\u540e\u7684\u7248\u672c\u4e2d\uff0c\u96c6\u5408\u7684\u63d2\u5165\u987a\u5e8f\u4f1a\u88ab\u4fdd\u7559\u3002\u96c6\u5408\u4e3b\u8981\u7528\u4e8e\u5b58\u50a8\u552f\u4e00\u7684\u5143\u7d20\uff0c\u907f\u514d\u91cd\u590d\u3002\u5982\u679c\u4f60\u9700\u8981\u5904\u7406\u6709\u5e8f\u4f46\u4e0d\u9700\u8981\u91cd\u590d\u7684\u5143\u7d20\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u96c6\u5408\u3002\u901a\u8fc7\u5927\u62ec\u53f7\u6216<code>set()<\/code>\u51fd\u6570\u521b\u5efa\u96c6\u5408\uff0c\u5e76\u4f7f\u7528\u5e38\u7528\u7684\u96c6\u5408\u64cd\u4f5c\u65b9\u6cd5\u6765\u8fdb\u884c\u4ea4\u96c6\u3001\u5e76\u96c6\u7b49\u64cd\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728 Python \u4e2d\u8868\u793a\u987a\u5e8f\u7684\u5e38\u89c1\u65b9\u5f0f\u6709\uff1a\u5217\u8868\u3001\u5143\u7ec4\u3001range \u5bf9\u8c61\u3001deque \u5bf9\u8c61\u3002\u5176\u4e2d\uff0c\u5217\u8868\u662f\u6700\u5e38\u7528\u7684 [&hellip;]","protected":false},"author":3,"featured_media":1174850,"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\/1174841"}],"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=1174841"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1174841\/revisions"}],"predecessor-version":[{"id":1174852,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1174841\/revisions\/1174852"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1174850"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1174841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1174841"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1174841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}