{"id":939445,"date":"2024-12-26T20:35:19","date_gmt":"2024-12-26T12:35:19","guid":{"rendered":""},"modified":"2024-12-26T20:35:21","modified_gmt":"2024-12-26T12:35:21","slug":"%e5%a6%82%e4%bd%95%e7%94%a8python%e9%97%b4%e9%9a%94","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/939445.html","title":{"rendered":"\u5982\u4f55\u7528python\u95f4\u9694"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25074453\/28e6c31b-9a5f-4cbc-935c-ec0166e38159.webp\" alt=\"\u5982\u4f55\u7528python\u95f4\u9694\" \/><\/p>\n<p><p> <strong>\u7528Python\u5b9e\u73b0\u95f4\u9694\u7684\u51e0\u79cd\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5207\u7247\u3001\u5faa\u73af\u548cenumerate\u51fd\u6570\u3002<\/strong>\u5176\u4e2d\uff0c\u5207\u7247\u662f\u4e00\u79cd\u975e\u5e38\u9ad8\u6548\u548c\u7b80\u6d01\u7684\u65b9\u6cd5\uff0c\u9002\u5408\u5904\u7406\u5927\u591a\u6570\u7b80\u5355\u7684\u95f4\u9694\u95ee\u9898\u3002\u901a\u8fc7\u6307\u5b9a\u6b65\u957f\uff0c\u5207\u7247\u53ef\u4ee5\u65b9\u4fbf\u5730\u4ece\u5217\u8868\u3001\u5b57\u7b26\u4e32\u6216\u5176\u4ed6\u53ef\u8fed\u4ee3\u5bf9\u8c61\u4e2d\u6bcf\u9694\u4e00\u5b9a\u6570\u91cf\u83b7\u53d6\u5143\u7d20\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u8ba8\u8bba\u4f7f\u7528\u5207\u7247\u7684\u5177\u4f53\u65b9\u6cd5\uff0c\u5e76\u4ecb\u7ecd\u5982\u4f55\u5728\u4e0d\u540c\u60c5\u51b5\u4e0b\u4f7f\u7528\u5176\u4ed6\u65b9\u6cd5\u6765\u5b9e\u73b0\u95f4\u9694\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528\u5207\u7247\u5b9e\u73b0\u95f4\u9694<\/p>\n<\/p>\n<p><p>\u5207\u7247\u662fPython\u4e2d\u5904\u7406\u5e8f\u5217\u6570\u636e\u7684\u5f3a\u5927\u5de5\u5177\uff0c\u901a\u8fc7\u6307\u5b9a\u8d77\u59cb\u3001\u7ed3\u675f\u548c\u6b65\u957f\uff0c\u53ef\u4ee5\u7075\u6d3b\u5730\u83b7\u53d6\u6240\u9700\u7684\u5b50\u5e8f\u5217\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5217\u8868\u5207\u7247<\/li>\n<\/ol>\n<p><p>\u5207\u7247\u5728\u5217\u8868\u4e2d\u662f\u6700\u5e38\u7528\u7684\uff0c\u5b83\u5141\u8bb8\u6211\u4eec\u901a\u8fc7\u6b65\u957f\u53c2\u6570\u83b7\u53d6\u5217\u8868\u4e2d\u7684\u95f4\u9694\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u5217\u8868<code>my_list<\/code>\uff0c\u6211\u4eec\u5e0c\u671b\u6bcf\u9694\u4e24\u4e2a\u5143\u7d20\u83b7\u53d6\u4e00\u4e2a\u5143\u7d20\uff0c\u53ef\u4ee5\u8fd9\u6837\u5b9e\u73b0\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]<\/p>\n<p>interval_elements = my_list[::2]<\/p>\n<p>print(interval_elements)  # \u8f93\u51fa: [1, 3, 5, 7, 9]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6b65\u957f<code>2<\/code>\u8868\u793a\u6bcf\u9694\u4e24\u4e2a\u5143\u7d20\u83b7\u53d6\u4e00\u4e2a\u5143\u7d20\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u5b57\u7b26\u4e32\u5207\u7247<\/li>\n<\/ol>\n<p><p>\u5b57\u7b26\u4e32\u4e5f\u652f\u6301\u5207\u7247\u64cd\u4f5c\uff0c\u8fd9\u5728\u5904\u7406\u6587\u672c\u6570\u636e\u65f6\u975e\u5e38\u6709\u7528\u3002\u4f8b\u5982\uff0c\u4ece\u4e00\u4e2a\u5b57\u7b26\u4e32\u4e2d\u6bcf\u9694\u4e00\u4e2a\u5b57\u7b26\u63d0\u53d6\u4e00\u4e2a\u5b57\u7b26\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_string = &quot;abcdefghij&quot;<\/p>\n<p>interval_chars = my_string[::2]<\/p>\n<p>print(interval_chars)  # \u8f93\u51fa: &quot;acegi&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li>\u5143\u7ec4\u5207\u7247<\/li>\n<\/ol>\n<p><p>\u5143\u7ec4\u662f\u4e0d\u53ef\u53d8\u7684\u5e8f\u5217\u7c7b\u578b\uff0c\u4f46\u540c\u6837\u652f\u6301\u5207\u7247\u64cd\u4f5c\u3002\u4e0e\u5217\u8868\u7c7b\u4f3c\uff0c\u53ef\u4ee5\u901a\u8fc7\u5207\u7247\u4ece\u5143\u7ec4\u4e2d\u95f4\u9694\u63d0\u53d6\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_tuple = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10)<\/p>\n<p>interval_elements = my_tuple[::2]<\/p>\n<p>print(interval_elements)  # \u8f93\u51fa: (1, 3, 5, 7, 9)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u5faa\u73af\u5b9e\u73b0\u95f4\u9694<\/p>\n<\/p>\n<p><p>\u5f53\u9700\u8981\u5bf9\u95f4\u9694\u5143\u7d20\u8fdb\u884c\u66f4\u590d\u6742\u7684\u64cd\u4f5c\u65f6\uff0c\u5faa\u73af\u63d0\u4f9b\u4e86\u66f4\u5927\u7684\u7075\u6d3b\u6027\u3002<\/p>\n<\/p>\n<ol>\n<li>for\u5faa\u73af<\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u4f7f\u7528for\u5faa\u73af\u624b\u52a8\u63a7\u5236\u7d22\u5f15\uff0c\u4ee5\u5b9e\u73b0\u95f4\u9694\u64cd\u4f5c\u3002\u4f8b\u5982\uff0c\u4ece\u4e00\u4e2a\u5217\u8868\u4e2d\u6bcf\u9694\u4e24\u4e2a\u5143\u7d20\u8fdb\u884c\u5904\u7406\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]<\/p>\n<p>interval_elements = []<\/p>\n<p>for i in range(0, len(my_list), 2):<\/p>\n<p>    interval_elements.append(my_list[i])<\/p>\n<p>print(interval_elements)  # \u8f93\u51fa: [1, 3, 5, 7, 9]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>while\u5faa\u73af<\/li>\n<\/ol>\n<p><p>while\u5faa\u73af\u540c\u6837\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u95f4\u9694\u64cd\u4f5c\uff0c\u7279\u522b\u662f\u5728\u9700\u8981\u66f4\u590d\u6742\u7684\u6761\u4ef6\u63a7\u5236\u65f6\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]<\/p>\n<p>interval_elements = []<\/p>\n<p>i = 0<\/p>\n<p>while i &lt; len(my_list):<\/p>\n<p>    interval_elements.append(my_list[i])<\/p>\n<p>    i += 2<\/p>\n<p>print(interval_elements)  # \u8f93\u51fa: [1, 3, 5, 7, 9]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528enumerate\u51fd\u6570\u5b9e\u73b0\u95f4\u9694<\/p>\n<\/p>\n<p><p>enumerate\u51fd\u6570\u53ef\u4ee5\u5728\u904d\u5386\u5217\u8868\u65f6\u63d0\u4f9b\u7d22\u5f15\uff0c\u8fd9\u5728\u9700\u8981\u6839\u636e\u7d22\u5f15\u8fdb\u884c\u6761\u4ef6\u5224\u65ad\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<ol>\n<li>\u4f7f\u7528enumerate\u63d0\u53d6\u95f4\u9694\u5143\u7d20<\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u7ed3\u5408if\u6761\u4ef6\u548cenumerate\u51fd\u6570\u6765\u63d0\u53d6\u95f4\u9694\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u63d0\u53d6\u5947\u6570\u7d22\u5f15\u4f4d\u7f6e\u7684\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]<\/p>\n<p>interval_elements = [x for i, x in enumerate(my_list) if i % 2 == 0]<\/p>\n<p>print(interval_elements)  # \u8f93\u51fa: [1, 3, 5, 7, 9]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u56db\u3001\u4f7f\u7528NumPy\u5b9e\u73b0\u95f4\u9694<\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u5927\u578b\u6570\u636e\u96c6\uff0cNumPy\u63d0\u4f9b\u4e86\u66f4\u9ad8\u6548\u7684\u5904\u7406\u65b9\u6cd5\u3002NumPy\u662f\u4e00\u4e2a\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684\u5e93\uff0c\u652f\u6301\u591a\u7ef4\u6570\u7ec4\u548c\u77e9\u9635\u8fd0\u7b97\u3002<\/p>\n<\/p>\n<ol>\n<li>\u4f7f\u7528NumPy\u6570\u7ec4\u7684\u5207\u7247<\/li>\n<\/ol>\n<p><p>NumPy\u7684\u6570\u7ec4\u5bf9\u8c61\u652f\u6301\u4e0ePython\u5217\u8868\u7c7b\u4f3c\u7684\u5207\u7247\u64cd\u4f5c\uff0c\u4f46\u901f\u5ea6\u66f4\u5feb\uff0c\u9002\u5408\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>my_array = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])<\/p>\n<p>interval_elements = my_array[::2]<\/p>\n<p>print(interval_elements)  # \u8f93\u51fa: [1 3 5 7 9]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u4f7f\u7528NumPy\u7684\u9ad8\u7ea7\u7d22\u5f15<\/li>\n<\/ol>\n<p><p>NumPy\u8fd8\u652f\u6301\u4f7f\u7528\u5e03\u5c14\u6570\u7ec4\u8fdb\u884c\u9ad8\u7ea7\u7d22\u5f15\uff0c\u8fd9\u53ef\u4ee5\u7528\u4e8e\u66f4\u590d\u6742\u7684\u95f4\u9694\u9009\u62e9\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_array = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])<\/p>\n<p>mask = np.arange(len(my_array)) % 2 == 0<\/p>\n<p>interval_elements = my_array[mask]<\/p>\n<p>print(interval_elements)  # \u8f93\u51fa: [1 3 5 7 9]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e94\u3001\u4f7f\u7528Pandas\u5b9e\u73b0\u95f4\u9694<\/p>\n<\/p>\n<p><p>Pandas\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u6570\u636e\u5206\u6790\u5e93\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u5bf9DataFrame\u548cSeries\u5bf9\u8c61\u8fdb\u884c\u95f4\u9694\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5bf9Series\u5bf9\u8c61\u8fdb\u884c\u95f4\u9694\u64cd\u4f5c<\/li>\n<\/ol>\n<p><p>Pandas\u7684Series\u5bf9\u8c61\u7c7b\u4f3c\u4e8e\u4e00\u7ef4\u6570\u7ec4\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u5207\u7247\u64cd\u4f5c\uff1a<\/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, 6, 7, 8, 9, 10])<\/p>\n<p>interval_elements = my_series[::2]<\/p>\n<p>print(interval_elements)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u5bf9DataFrame\u5bf9\u8c61\u8fdb\u884c\u95f4\u9694\u64cd\u4f5c<\/li>\n<\/ol>\n<p><p>\u5bf9\u4e8eDataFrame\u5bf9\u8c61\uff0c\u53ef\u4ee5\u901a\u8fc7\u5207\u7247\u6216\u5e03\u5c14\u7d22\u5f15\u5bf9\u884c\u6216\u5217\u8fdb\u884c\u95f4\u9694\u9009\u62e9\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>my_dataframe = pd.DataFrame({<\/p>\n<p>    &#39;A&#39;: range(1, 11),<\/p>\n<p>    &#39;B&#39;: range(11, 21)<\/p>\n<p>})<\/p>\n<p>interval_elements = my_dataframe.iloc[::2]<\/p>\n<p>print(interval_elements)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0cPython\u63d0\u4f9b\u4e86\u591a\u79cd\u5b9e\u73b0\u95f4\u9694\u7684\u65b9\u6cd5\uff0c\u4ece\u7b80\u5355\u7684\u5207\u7247\u5230\u590d\u6742\u7684NumPy\u548cPandas\u64cd\u4f5c\uff0c\u6ee1\u8db3\u5404\u79cd\u4e0d\u540c\u9700\u6c42\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u6548\u7387\u548c\u53ef\u8bfb\u6027\u3002\u5bf9\u4e8e\u6570\u636e\u5206\u6790\u548c\u79d1\u5b66\u8ba1\u7b97\uff0cNumPy\u548cPandas\u63d0\u4f9b\u4e86\u66f4\u5f3a\u5927\u7684\u529f\u80fd\u548c\u66f4\u9ad8\u7684\u6027\u80fd\uff0c\u662f\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u7684\u7406\u60f3\u9009\u62e9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b9e\u73b0\u5b9a\u65f6\u4efb\u52a1\u7684\u95f4\u9694\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>time.sleep()<\/code>\u51fd\u6570\u6765\u521b\u5efa\u7b80\u5355\u7684\u95f4\u9694\u3002\u901a\u8fc7\u5728\u5faa\u73af\u4e2d\u8c03\u7528\u6b64\u51fd\u6570\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6bcf\u9694\u4e00\u6bb5\u65f6\u95f4\u6267\u884c\u67d0\u9879\u4efb\u52a1\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u6bcf\u96945\u79d2\u6253\u5370\u4e00\u6761\u6d88\u606f\uff1a<\/p>\n<pre><code class=\"language-python\">import time\n\nwhile True:\n    print(&quot;\u8fd9\u6761\u6d88\u606f\u6bcf5\u79d2\u6253\u5370\u4e00\u6b21&quot;)\n    time.sleep(5)\n<\/code><\/pre>\n<p>\u5982\u679c\u9700\u8981\u66f4\u590d\u6742\u7684\u5b9a\u65f6\u4efb\u52a1\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528<code>schedule<\/code>\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u66f4\u7075\u6d3b\u7684\u8c03\u5ea6\u529f\u80fd\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u5b9e\u73b0\u5b9a\u65f6\u5668\u7684\u6700\u4f73\u5b9e\u8df5\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5728\u5b9e\u73b0\u5b9a\u65f6\u5668\u65f6\uff0c\u9009\u62e9\u5408\u9002\u7684\u5e93\u975e\u5e38\u91cd\u8981\u3002\u5bf9\u4e8e\u7b80\u5355\u4efb\u52a1\uff0c<code>time.sleep()<\/code>\u8db3\u591f\u4f7f\u7528\uff0c\u4f46\u5bf9\u4e8e\u66f4\u590d\u6742\u7684\u8c03\u5ea6\uff0c\u53ef\u4ee5\u9009\u62e9<code>APScheduler<\/code>\u6216<code>schedule<\/code>\u5e93\u3002\u8fd9\u4e9b\u5e93\u63d0\u4f9b\u4e86\u5b9a\u65f6\u5668\u3001\u4f5c\u4e1a\u8c03\u5ea6\u7b49\u529f\u80fd\uff0c\u80fd\u591f\u66f4\u597d\u5730\u7ba1\u7406\u4efb\u52a1\u7684\u6267\u884c\u3002\u6b64\u5916\uff0c\u786e\u4fdd\u5904\u7406\u5f02\u5e38\u60c5\u51b5\uff0c\u4ee5\u9632\u6b62\u7a0b\u5e8f\u56e0\u9519\u8bef\u800c\u505c\u6b62\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u7ebf\u7a0b\u5b9e\u73b0\u5e76\u53d1\u95f4\u9694\u4efb\u52a1\uff1f<\/strong><br \/>\u4f7f\u7528<code>threading<\/code>\u5e93\u53ef\u4ee5\u5b9e\u73b0\u5e76\u53d1\u4efb\u52a1\u7684\u6267\u884c\u3002\u901a\u8fc7\u521b\u5efa\u4e00\u4e2a\u65b0\u7ebf\u7a0b\u6765\u8fd0\u884c\u5b9a\u65f6\u4efb\u52a1\uff0c\u53ef\u4ee5\u540c\u65f6\u6267\u884c\u591a\u4e2a\u4efb\u52a1\u800c\u4e0d\u963b\u585e\u4e3b\u7a0b\u5e8f\u3002\u4f8b\u5982\uff0c\u4e0b\u9762\u7684\u4ee3\u7801\u5c55\u793a\u4e86\u5982\u4f55\u5728\u5355\u72ec\u7684\u7ebf\u7a0b\u4e2d\u6267\u884c\u5b9a\u65f6\u4efb\u52a1\uff1a<\/p>\n<pre><code class=\"language-python\">import threading\nimport time\n\ndef task():\n    while True:\n        print(&quot;\u8fd9\u662f\u4e00\u4e2a\u5e76\u53d1\u4efb\u52a1&quot;)\n        time.sleep(5)\n\nthread = threading.Thread(target=task)\nthread.start()\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u5f0f\u4f7f\u5f97\u4e3b\u7a0b\u5e8f\u53ef\u4ee5\u7ee7\u7eed\u8fdb\u884c\u5176\u4ed6\u64cd\u4f5c\uff0c\u800c\u5b9a\u65f6\u4efb\u52a1\u5728\u540e\u53f0\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u7528Python\u5b9e\u73b0\u95f4\u9694\u7684\u51e0\u79cd\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5207\u7247\u3001\u5faa\u73af\u548cenumerate\u51fd\u6570\u3002\u5176\u4e2d\uff0c\u5207\u7247\u662f\u4e00\u79cd\u975e\u5e38\u9ad8\u6548\u548c\u7b80\u6d01\u7684 [&hellip;]","protected":false},"author":3,"featured_media":939446,"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\/939445"}],"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=939445"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/939445\/revisions"}],"predecessor-version":[{"id":939447,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/939445\/revisions\/939447"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/939446"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=939445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=939445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=939445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}