{"id":978925,"date":"2024-12-27T06:41:54","date_gmt":"2024-12-26T22:41:54","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/978925.html"},"modified":"2024-12-27T06:41:56","modified_gmt":"2024-12-26T22:41:56","slug":"python%e5%a6%82%e4%bd%95%e8%8e%b7%e5%8f%96%e5%88%97%e8%a1%a8%e9%95%bf%e5%ba%a6","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/978925.html","title":{"rendered":"python\u5982\u4f55\u83b7\u53d6\u5217\u8868\u957f\u5ea6"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24203701\/dabb964a-44bf-4752-a748-b611c81601b6.webp\" alt=\"python\u5982\u4f55\u83b7\u53d6\u5217\u8868\u957f\u5ea6\" \/><\/p>\n<p><p> \u5f00\u5934\u6bb5\u843d\uff1a<br \/>\u5728Python\u4e2d\uff0c\u83b7\u53d6\u5217\u8868\u957f\u5ea6\u7684\u65b9\u6cd5\u6709\u5f88\u591a\u79cd\uff0c<strong>\u5e38\u7528\u7684\u5305\u62eclen()\u51fd\u6570\u3001\u624b\u52a8\u904d\u5386\u8ba1\u6570\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u7b49<\/strong>\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u7528\u548c\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u5185\u7f6e\u7684len()\u51fd\u6570\u3002\u901a\u8fc7\u8c03\u7528len()\u51fd\u6570\u5e76\u4f20\u5165\u5217\u8868\u4f5c\u4e3a\u53c2\u6570\uff0c\u5373\u53ef\u8f7b\u677e\u83b7\u53d6\u5217\u8868\u7684\u957f\u5ea6\u3002\u6bd4\u5982\uff0c<code>len(my_list)<\/code>\u5c06\u8fd4\u56de\u5217\u8868<code>my_list<\/code>\u7684\u5143\u7d20\u4e2a\u6570\u3002<strong>len()\u51fd\u6570\u4e0d\u4ec5\u9002\u7528\u4e8e\u5217\u8868\uff0c\u8fd8\u80fd\u7528\u4e8e\u5176\u4ed6\u5bb9\u5668\u7c7b\u578b\uff0c\u5982\u5143\u7ec4\u3001\u96c6\u5408\u3001\u5b57\u7b26\u4e32\u7b49<\/strong>\u3002\u624b\u52a8\u904d\u5386\u8ba1\u6570\u867d\u7136\u4e0d\u5982len()\u51fd\u6570\u4fbf\u6377\uff0c\u4f46\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u53ef\u4ee5\u7528\u4e8e\u81ea\u5b9a\u4e49\u8ba1\u6570\u903b\u8f91\u3002\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u5219\u662f\u5728\u9700\u8981\u66f4\u590d\u6742\u7684\u6570\u636e\u64cd\u4f5c\u65f6\u7684\u4e00\u79cd\u9009\u62e9\u3002<\/p>\n<\/p>\n<p><p>\u6b63\u6587\uff1a<\/p>\n<\/p>\n<h2><strong>\u4e00\u3001LEN()\u51fd\u6570<\/strong><\/h2>\n<p><h2>\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<\/p>\n<p><p>Python\u7684len()\u51fd\u6570\u662f\u83b7\u53d6\u5217\u8868\u957f\u5ea6\u7684\u6700\u76f4\u63a5\u65b9\u6cd5\u3002\u65e0\u8bba\u5217\u8868\u4e2d\u5305\u542b\u4f55\u79cd\u6570\u636e\u7c7b\u578b\uff0clen()\u51fd\u6570\u90fd\u80fd\u51c6\u786e\u8fd4\u56de\u5143\u7d20\u7684\u4e2a\u6570\u3002\u5176\u8bed\u6cd5\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u5c06\u5217\u8868\u4f5c\u4e3a\u53c2\u6570\u4f20\u5165\u5373\u53ef\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5]<\/p>\n<p>length = len(my_list)<\/p>\n<p>print(length)  # \u8f93\u51fa\uff1a5<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u9002\u7528\u8303\u56f4<\/h2>\n<\/p>\n<p><p>len()\u51fd\u6570\u4e0d\u4ec5\u9650\u4e8e\u5217\u8868\uff0c\u8fd8\u9002\u7528\u4e8e\u5176\u4ed6\u6570\u636e\u7ed3\u6784\uff0c\u5982\u5b57\u7b26\u4e32\u3001\u5143\u7ec4\u3001\u5b57\u5178\u548c\u96c6\u5408\u7b49\u3002\u5bf9\u4e8e\u5b57\u5178\uff0clen()\u8fd4\u56de\u7684\u662f\u952e\u503c\u5bf9\u7684\u6570\u91cf\uff0c\u800c\u5bf9\u4e8e\u5b57\u7b26\u4e32\uff0c\u8fd4\u56de\u7684\u662f\u5b57\u7b26\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_tuple = (1, 2, 3)<\/p>\n<p>print(len(my_tuple))  # \u8f93\u51fa\uff1a3<\/p>\n<p>my_string = &quot;hello&quot;<\/p>\n<p>print(len(my_string))  # \u8f93\u51fa\uff1a5<\/p>\n<p>my_dict = {&#39;a&#39;: 1, &#39;b&#39;: 2}<\/p>\n<p>print(len(my_dict))  # \u8f93\u51fa\uff1a2<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u4e8c\u3001\u624b\u52a8\u904d\u5386\u8ba1\u6570<\/strong><\/h2>\n<p><h2>\u57fa\u672c\u601d\u8def<\/h2>\n<\/p>\n<p><p>\u867d\u7136len()\u51fd\u6570\u975e\u5e38\u65b9\u4fbf\uff0c\u4f46\u5728\u67d0\u4e9b\u7279\u5b9a\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u901a\u8fc7\u624b\u52a8\u904d\u5386\u5217\u8868\u6765\u83b7\u53d6\u957f\u5ea6\u3002\u624b\u52a8\u904d\u5386\u53ef\u4ee5\u8ba9\u6211\u4eec\u5728\u8ba1\u6570\u7684\u540c\u65f6\u6267\u884c\u5176\u4ed6\u903b\u8f91\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5]<\/p>\n<p>count = 0<\/p>\n<p>for item in my_list:<\/p>\n<p>    count += 1<\/p>\n<p>print(count)  # \u8f93\u51fa\uff1a5<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u4f7f\u7528\u573a\u666f<\/h2>\n<\/p>\n<p><p>\u624b\u52a8\u8ba1\u6570\u5728\u9700\u8981\u5bf9\u5217\u8868\u5143\u7d20\u8fdb\u884c\u989d\u5916\u64cd\u4f5c\u65f6\u975e\u5e38\u6709\u7528\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u5728\u8ba1\u6570\u7684\u540c\u65f6\u5bf9\u5217\u8868\u4e2d\u7684\u5143\u7d20\u8fdb\u884c\u7b5b\u9009\u6216\u4fee\u6539\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5]<\/p>\n<p>count = 0<\/p>\n<p>for item in my_list:<\/p>\n<p>    if item % 2 == 0:  # \u4ec5\u8ba1\u6570\u5076\u6570<\/p>\n<p>        count += 1<\/p>\n<p>print(count)  # \u8f93\u51fa\uff1a2<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u4e09\u3001\u7b2c\u4e09\u65b9\u5e93<\/strong><\/h2>\n<p><h2>NUMPY\u5e93<\/h2>\n<\/p>\n<p><p>\u5728\u6570\u636e\u5206\u6790\u548c\u79d1\u5b66\u8ba1\u7b97\u4e2d\uff0cNumPy\u5e93\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\u3002\u867d\u7136\u5b83\u7684\u4e3b\u8981\u529f\u80fd\u4e0d\u5728\u4e8e\u83b7\u53d6\u5217\u8868\u957f\u5ea6\uff0c\u4f46\u5b83\u53ef\u4ee5\u5904\u7406\u591a\u7ef4\u6570\u7ec4\uff0c\u8fd9\u4f7f\u5f97\u5b83\u5728\u67d0\u4e9b\u573a\u5408\u66f4\u52a0\u5b9e\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>my_list = [1, 2, 3, 4, 5]<\/p>\n<p>np_array = np.array(my_list)<\/p>\n<p>print(np_array.size)  # \u8f93\u51fa\uff1a5<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>PANDAS\u5e93<\/h2>\n<\/p>\n<p><p>Pandas\u5e93\u5728\u5904\u7406\u8868\u683c\u6570\u636e\u65f6\u975e\u5e38\u6709\u7528\u3002\u867d\u7136\u5b83\u66f4\u5e38\u7528\u4e8e\u6570\u636e\u6846\u548c\u5e8f\u5217\uff0c\u4f46\u5b83\u4e5f\u53ef\u4ee5\u7528\u4e8e\u83b7\u53d6\u7ed3\u6784\u5316\u6570\u636e\u7684\u957f\u5ea6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>my_series = pd.Series([1, 2, 3, 4, 5])<\/p>\n<p>print(len(my_series))  # \u8f93\u51fa\uff1a5<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u56db\u3001\u6027\u80fd\u6bd4\u8f83<\/strong><\/h2>\n<p><h2>LEN()\u7684\u9ad8\u6548\u6027<\/h2>\n<\/p>\n<p><p>len()\u51fd\u6570\u662fC\u8bed\u8a00\u5b9e\u73b0\u7684\uff0c\u56e0\u6b64\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u5b83\u90fd\u6bd4\u624b\u52a8\u904d\u5386\u66f4\u52a0\u9ad8\u6548\u3002\u5bf9\u4e8e\u5927\u6570\u636e\u96c6\uff0c\u4f7f\u7528len()\u51fd\u6570\u53ef\u4ee5\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u6027\u80fd\u5f00\u9500\u3002<\/p>\n<\/p>\n<p><h2>\u624b\u52a8\u8ba1\u6570\u7684\u7075\u6d3b\u6027<\/h2>\n<\/p>\n<p><p>\u867d\u7136\u6027\u80fd\u7565\u900a\u4e8elen()\uff0c\u4f46\u624b\u52a8\u8ba1\u6570\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7684\u7075\u6d3b\u6027\u3002\u5728\u9700\u8981\u540c\u65f6\u8fdb\u884c\u5176\u4ed6\u64cd\u4f5c\u65f6\uff0c\u624b\u52a8\u8ba1\u6570\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002<\/p>\n<\/p>\n<h2><strong>\u4e94\u3001\u5e38\u89c1\u9519\u8bef<\/strong><\/h2>\n<p><h2>\u5fd8\u8bb0\u62ec\u53f7<\/h2>\n<\/p>\n<p><p>\u5728\u4f7f\u7528len()\u51fd\u6570\u65f6\uff0c\u5e38\u89c1\u7684\u9519\u8bef\u662f\u5fd8\u8bb0\u5728\u51fd\u6570\u540d\u540e\u52a0\u4e0a\u62ec\u53f7\u3002\u8fd9\u5c06\u5bfc\u81f4\u4ee3\u7801\u629b\u51faTypeError\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3]<\/p>\n<p>print(len)  # \u9519\u8bef\uff1aTypeError<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u5bf9\u975e\u5bb9\u5668\u7c7b\u578b\u4f7f\u7528len()<\/h2>\n<\/p>\n<p><p>len()\u51fd\u6570\u4ec5\u9002\u7528\u4e8e\u5bb9\u5668\u7c7b\u578b\uff08\u5982\u5217\u8868\u3001\u5143\u7ec4\u3001\u96c6\u5408\u7b49\uff09\uff0c\u5bf9\u975e\u5bb9\u5668\u7c7b\u578b\u4f7f\u7528\u4f1a\u5bfc\u81f4TypeError\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">number = 123<\/p>\n<p>print(len(number))  # \u9519\u8bef\uff1aTypeError<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u516d\u3001\u5e94\u7528\u5b9e\u4f8b<\/strong><\/h2>\n<p><h2>\u5217\u8868\u5206\u5272<\/h2>\n<\/p>\n<p><p>\u83b7\u53d6\u5217\u8868\u957f\u5ea6\u7684\u4e00\u4e2a\u91cd\u8981\u5e94\u7528\u662f\u5bf9\u5217\u8868\u8fdb\u884c\u5206\u5272\u3002\u901a\u8fc7\u83b7\u53d6\u957f\u5ea6\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u5217\u8868\u5206\u6210\u7b49\u957f\u7684\u5b50\u5217\u8868\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5, 6]<\/p>\n<p>length = len(my_list)<\/p>\n<p>half_length = length \/\/ 2<\/p>\n<p>first_half = my_list[:half_length]<\/p>\n<p>second_half = my_list[half_length:]<\/p>\n<p>print(first_half)  # \u8f93\u51fa\uff1a[1, 2, 3]<\/p>\n<p>print(second_half)  # \u8f93\u51fa\uff1a[4, 5, 6]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u52a8\u6001\u8c03\u6574\u5217\u8868<\/h2>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u52a8\u6001\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u6839\u636e\u5217\u8868\u7684\u957f\u5ea6\u6765\u8c03\u6574\u5176\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u9650\u5236\u5217\u8868\u7684\u6700\u5927\u957f\u5ea6\uff0c\u8d85\u8fc7\u65f6\u5220\u9664\u6700\u65e9\u7684\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">max_length = 5<\/p>\n<p>my_list = [1, 2, 3, 4, 5, 6, 7]<\/p>\n<p>while len(my_list) &gt; max_length:<\/p>\n<p>    my_list.pop(0)<\/p>\n<p>print(my_list)  # \u8f93\u51fa\uff1a[3, 4, 5, 6, 7]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u4e03\u3001\u603b\u7ed3<\/strong><\/h2>\n<p><p>\u83b7\u53d6\u5217\u8868\u957f\u5ea6\u5728Python\u7f16\u7a0b\u4e2d\u662f\u4e00\u4e2a\u57fa\u672c\u4e14\u5e38\u7528\u7684\u64cd\u4f5c\u3002<strong>\u4f7f\u7528len()\u51fd\u6570\u662f\u6700\u7b80\u5355\u548c\u9ad8\u6548\u7684\u65b9\u6cd5<\/strong>\uff0c\u9002\u7528\u4e8e\u5927\u591a\u6570\u573a\u666f\u3002\u5bf9\u4e8e\u9700\u8981\u8fdb\u884c\u590d\u6742\u64cd\u4f5c\u6216\u5728\u7279\u5b9a\u73af\u5883\u4e0b\uff0c\u624b\u52a8\u8ba1\u6570\u548c\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u4e5f\u63d0\u4f9b\u4e86\u7075\u6d3b\u7684\u89e3\u51b3\u65b9\u6848\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u4e86\u89e3\u5176\u4f18\u7f3a\u70b9\u548c\u9002\u7528\u573a\u666f\u90fd\u80fd\u5e2e\u52a9\u6211\u4eec\u66f4\u597d\u5730\u7f16\u5199\u9ad8\u6548\u7684Python\u4ee3\u7801\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u83b7\u53d6\u4e00\u4e2a\u5217\u8868\u7684\u957f\u5ea6\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u83b7\u53d6\u5217\u8868\u7684\u957f\u5ea6\u975e\u5e38\u7b80\u5355\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>len()<\/code>\u51fd\u6570\uff0c\u53ea\u9700\u5c06\u5217\u8868\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9\u8be5\u51fd\u6570\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u6709\u4e00\u4e2a\u5217\u8868<code>my_list = [1, 2, 3, 4]<\/code>\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>len(my_list)<\/code>\u6765\u83b7\u53d6\u5176\u957f\u5ea6\uff0c\u7ed3\u679c\u5c06\u8fd4\u56de4\u3002<\/p>\n<p><strong>\u5728\u83b7\u53d6\u5217\u8868\u957f\u5ea6\u65f6\u6709\u54ea\u4e9b\u5e38\u89c1\u9519\u8bef\u9700\u8981\u6ce8\u610f\uff1f<\/strong><br \/>\u5728\u4f7f\u7528<code>len()<\/code>\u51fd\u6570\u65f6\uff0c\u5e38\u89c1\u7684\u9519\u8bef\u901a\u5e38\u4e0e\u6570\u636e\u7c7b\u578b\u6709\u5173\u3002\u5982\u679c\u60a8\u5c1d\u8bd5\u83b7\u53d6\u4e00\u4e2a\u975e\u5217\u8868\u5bf9\u8c61\u7684\u957f\u5ea6\uff0c\u4f8b\u5982\u4e00\u4e2a\u6574\u6570\u6216\u5b57\u7b26\u4e32\uff0cPython\u5c06\u5f15\u53d1<code>TypeError<\/code>\u3002\u786e\u4fdd\u60a8\u4f20\u9012\u7ed9<code>len()<\/code>\u7684\u786e\u5b9e\u662f\u4e00\u4e2a\u5217\u8868\uff0c\u6216\u8005\u60a8\u53ef\u4ee5\u4f7f\u7528<code>isinstance()<\/code>\u51fd\u6570\u6765\u68c0\u67e5\u53d8\u91cf\u7684\u7c7b\u578b\u3002<\/p>\n<p><strong>\u83b7\u53d6\u5d4c\u5957\u5217\u8868\u7684\u957f\u5ea6\u5982\u4f55\u5904\u7406\uff1f<\/strong><br \/>\u5bf9\u4e8e\u5d4c\u5957\u5217\u8868\uff08\u5373\u5217\u8868\u4e2d\u5305\u542b\u5176\u4ed6\u5217\u8868\uff09\uff0c<code>len()<\/code>\u51fd\u6570\u8fd4\u56de\u7684\u662f\u5916\u5c42\u5217\u8868\u7684\u957f\u5ea6\uff0c\u800c\u4e0d\u662f\u5185\u5c42\u5217\u8868\u7684\u957f\u5ea6\u3002\u5982\u679c\u60a8\u60f3\u83b7\u53d6\u5185\u5c42\u5217\u8868\u7684\u957f\u5ea6\uff0c\u53ef\u4ee5\u76f4\u63a5\u8bbf\u95ee\u5185\u5c42\u5217\u8868\u5e76\u4f7f\u7528<code>len()<\/code>\uff0c\u4f8b\u5982<code>len(my_list[0])<\/code>\u5c06\u8fd4\u56de\u7b2c\u4e00\u4e2a\u5185\u5c42\u5217\u8868\u7684\u957f\u5ea6\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u6216\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u83b7\u53d6\u6240\u6709\u5185\u5c42\u5217\u8868\u7684\u957f\u5ea6\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u52a8\u6001\u66f4\u65b0\u5217\u8868\u5e76\u83b7\u53d6\u65b0\u7684\u957f\u5ea6\uff1f<\/strong><br \/>\u5982\u679c\u60a8\u60f3\u8981\u5728\u7a0b\u5e8f\u4e2d\u52a8\u6001\u5730\u66f4\u65b0\u5217\u8868\uff0c\u4f8b\u5982\u901a\u8fc7\u6dfb\u52a0\u6216\u5220\u9664\u5143\u7d20\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>append()<\/code>\u3001<code>extend()<\/code>\u6216<code>remove()<\/code>\u7b49\u65b9\u6cd5\u3002\u6bcf\u6b21\u4fee\u6539\u5217\u8868\u540e\uff0c\u60a8\u90fd\u53ef\u4ee5\u518d\u6b21\u8c03\u7528<code>len()<\/code>\u51fd\u6570\u6765\u83b7\u53d6\u66f4\u65b0\u540e\u7684\u957f\u5ea6\u3002\u4f8b\u5982\uff0c\u8c03\u7528<code>my_list.append(5)<\/code>\u540e\uff0c<code>len(my_list)<\/code>\u5c06\u8fd4\u56de5\uff0c\u53cd\u6620\u5217\u8868\u7684\u65b0\u72b6\u6001\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5f00\u5934\u6bb5\u843d\uff1a\u5728Python\u4e2d\uff0c\u83b7\u53d6\u5217\u8868\u957f\u5ea6\u7684\u65b9\u6cd5\u6709\u5f88\u591a\u79cd\uff0c\u5e38\u7528\u7684\u5305\u62eclen()\u51fd\u6570\u3001\u624b\u52a8\u904d\u5386\u8ba1\u6570\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u7b49 [&hellip;]","protected":false},"author":3,"featured_media":978934,"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\/978925"}],"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=978925"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/978925\/revisions"}],"predecessor-version":[{"id":978937,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/978925\/revisions\/978937"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/978934"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=978925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=978925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=978925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}