{"id":1120722,"date":"2025-01-08T18:59:50","date_gmt":"2025-01-08T10:59:50","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1120722.html"},"modified":"2025-01-08T18:59:54","modified_gmt":"2025-01-08T10:59:54","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e8%be%93%e5%85%a51%e5%87%ba%e7%8e%b0jan","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1120722.html","title":{"rendered":"Python\u4e2d\u5982\u4f55\u8f93\u51651\u51fa\u73b0Jan"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25083252\/7b8c03d1-8bd5-42c4-9ad1-62d67a333d07.webp\" alt=\"Python\u4e2d\u5982\u4f55\u8f93\u51651\u51fa\u73b0Jan\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u4f7f\u7528\u65e5\u671f\u6a21\u5757\u53ef\u4ee5\u5b9e\u73b0\u8f93\u5165\u6570\u5b571\u5e76\u8f93\u51fa\u5bf9\u5e94\u7684\u6708\u4efd\u540d\u79f0\u201cJanuary\u201d\u3002\u8981\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u5185\u7f6e\u7684<code>datetime<\/code>\u6a21\u5757\u53ca\u5176\u76f8\u5173\u65b9\u6cd5\uff0c\u6216\u8005\u4f7f\u7528\u5916\u90e8\u5e93\u5982<code>calendar<\/code>\u548c<code>dateutil<\/code>\u6765\u5904\u7406\u65e5\u671f\u548c\u65f6\u95f4\u6570\u636e\u3002<\/strong>\u5176\u4e2d\uff0c\u4f7f\u7528<code>datetime<\/code>\u6a21\u5757\u8fdb\u884c\u65e5\u671f\u89e3\u6790\u548c\u683c\u5f0f\u5316\u662f\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u662fPython\u6807\u51c6\u5e93\u7684\u4e00\u90e8\u5206\uff0c\u6613\u4e8e\u4f7f\u7528\u4e14\u4e0d\u9700\u8981\u989d\u5916\u5b89\u88c5\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u5b9e\u73b0\u8f93\u5165\u6570\u5b571\u5e76\u8f93\u51fa\u201cJanuary\u201d\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528<code>datetime<\/code>\u6a21\u5757<\/p>\n<\/p>\n<p><p>Python\u7684<code>datetime<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u5904\u7406\u65e5\u671f\u548c\u65f6\u95f4\u7684\u57fa\u672c\u65b9\u6cd5\u3002\u6211\u4eec\u53ef\u4ee5\u5229\u7528<code>datetime<\/code>\u6a21\u5757\u4e2d\u7684<code>strftime<\/code>\u65b9\u6cd5\u6765\u683c\u5f0f\u5316\u65e5\u671f\u5e76\u83b7\u5f97\u6708\u4efd\u540d\u79f0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import datetime<\/p>\n<p>def month_name_from_number(month_number):<\/p>\n<p>    # \u521b\u5efa\u4e00\u4e2a\u65e5\u671f\u5bf9\u8c61\uff0c\u6708\u4efd\u4e3a\u6307\u5b9a\u7684month_number<\/p>\n<p>    date_object = datetime.datetime(2023, month_number, 1)<\/p>\n<p>    # \u4f7f\u7528strftime\u65b9\u6cd5\u683c\u5f0f\u5316\u65e5\u671f\u5bf9\u8c61\u4ee5\u83b7\u53d6\u6708\u4efd\u540d\u79f0<\/p>\n<p>    month_name = date_object.strftime(&#39;%B&#39;)<\/p>\n<p>    return month_name<\/p>\n<h2><strong>\u793a\u4f8b\uff1a\u8f93\u51651\uff0c\u8f93\u51faJanuary<\/strong><\/h2>\n<p>print(month_name_from_number(1))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5bfc\u5165\u4e86<code>datetime<\/code>\u6a21\u5757\uff0c\u7136\u540e\u5b9a\u4e49\u4e86\u4e00\u4e2a\u51fd\u6570<code>month_name_from_number<\/code>\uff0c\u8be5\u51fd\u6570\u63a5\u53d7\u4e00\u4e2a\u6708\u4efd\u7f16\u53f7\u4f5c\u4e3a\u53c2\u6570\u3002\u6211\u4eec\u4f7f\u7528<code>datetime.datetime(2023, month_number, 1)<\/code>\u521b\u5efa\u4e00\u4e2a\u65e5\u671f\u5bf9\u8c61\uff0c\u8fd9\u91cc\u7684\u5e74\u4efd\u548c\u65e5\u671f\u65e0\u5173\u7d27\u8981\uff0c\u53ea\u8981\u6708\u4efd\u6b63\u786e\u5373\u53ef\u3002\u63a5\u4e0b\u6765\uff0c\u4f7f\u7528<code>strftime(&#39;%B&#39;)<\/code>\u65b9\u6cd5\u5c06\u65e5\u671f\u5bf9\u8c61\u683c\u5f0f\u5316\u4e3a\u6708\u4efd\u540d\u79f0\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528<code>calendar<\/code>\u6a21\u5757<\/p>\n<\/p>\n<p><p>Python\u7684<code>calendar<\/code>\u6a21\u5757\u4e5f\u63d0\u4f9b\u4e86\u65e5\u671f\u76f8\u5173\u7684\u65b9\u6cd5\uff0c<code>month_name<\/code>\u662f\u5176\u4e2d\u4e00\u4e2a\u5c5e\u6027\uff0c\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u6708\u4efd\u7f16\u53f7\u83b7\u53d6\u5bf9\u5e94\u7684\u6708\u4efd\u540d\u79f0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import calendar<\/p>\n<p>def month_name_from_number(month_number):<\/p>\n<p>    # \u4f7f\u7528calendar\u6a21\u5757\u4e2d\u7684month_name\u5c5e\u6027\u83b7\u53d6\u6708\u4efd\u540d\u79f0<\/p>\n<p>    month_name = calendar.month_name[month_number]<\/p>\n<p>    return month_name<\/p>\n<h2><strong>\u793a\u4f8b\uff1a\u8f93\u51651\uff0c\u8f93\u51faJanuary<\/strong><\/h2>\n<p>print(month_name_from_number(1))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5bfc\u5165\u4e86<code>calendar<\/code>\u6a21\u5757\u3002\u7136\u540e\u5b9a\u4e49\u4e86\u4e00\u4e2a\u51fd\u6570<code>month_name_from_number<\/code>\uff0c\u8be5\u51fd\u6570\u63a5\u53d7\u4e00\u4e2a\u6708\u4efd\u7f16\u53f7\u4f5c\u4e3a\u53c2\u6570\u3002\u6211\u4eec\u901a\u8fc7<code>calendar.month_name[month_number]<\/code>\u76f4\u63a5\u83b7\u53d6\u5bf9\u5e94\u7684\u6708\u4efd\u540d\u79f0\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c<code>calendar.month_name<\/code>\u662f\u4e00\u4e2a\u4ee51\u4e3a\u7d22\u5f15\u7684\u5217\u8868\uff0c\u5373<code>calendar.month_name[1]<\/code>\u5bf9\u5e94January\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528<code>dateutil<\/code>\u5e93<\/p>\n<\/p>\n<p><p><code>dateutil<\/code>\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u7b2c\u4e09\u65b9\u5e93\uff0c\u63d0\u4f9b\u4e86\u66f4\u4e3a\u4e30\u5bcc\u7684\u65e5\u671f\u548c\u65f6\u95f4\u5904\u7406\u529f\u80fd\u3002\u8fd9\u91cc\u6211\u4eec\u4f7f\u7528<code>dateutil<\/code>\u5e93\u4e2d\u7684<code>parser<\/code>\u6a21\u5757\u6765\u89e3\u6790\u65e5\u671f\u5e76\u83b7\u53d6\u6708\u4efd\u540d\u79f0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from dateutil import parser<\/p>\n<p>def month_name_from_number(month_number):<\/p>\n<p>    # \u521b\u5efa\u4e00\u4e2a\u65e5\u671f\u5b57\u7b26\u4e32\uff0c\u6708\u4efd\u4e3a\u6307\u5b9a\u7684month_number<\/p>\n<p>    date_string = f&#39;2023-{month_number}-01&#39;<\/p>\n<p>    # \u4f7f\u7528dateutil\u7684parser\u6a21\u5757\u89e3\u6790\u65e5\u671f\u5b57\u7b26\u4e32<\/p>\n<p>    date_object = parser.parse(date_string)<\/p>\n<p>    # \u83b7\u53d6\u6708\u4efd\u540d\u79f0<\/p>\n<p>    month_name = date_object.strftime(&#39;%B&#39;)<\/p>\n<p>    return month_name<\/p>\n<h2><strong>\u793a\u4f8b\uff1a\u8f93\u51651\uff0c\u8f93\u51faJanuary<\/strong><\/h2>\n<p>print(month_name_from_number(1))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u4ece<code>dateutil<\/code>\u5e93\u4e2d\u5bfc\u5165\u4e86<code>parser<\/code>\u6a21\u5757\u3002\u7136\u540e\u5b9a\u4e49\u4e86\u4e00\u4e2a\u51fd\u6570<code>month_name_from_number<\/code>\uff0c\u8be5\u51fd\u6570\u63a5\u53d7\u4e00\u4e2a\u6708\u4efd\u7f16\u53f7\u4f5c\u4e3a\u53c2\u6570\u3002\u6211\u4eec\u521b\u5efa\u4e00\u4e2a\u65e5\u671f\u5b57\u7b26\u4e32\uff0c\u4f8b\u5982<code>&#39;2023-1-01&#39;<\/code>\uff0c\u7136\u540e\u4f7f\u7528<code>parser.parse(date_string)<\/code>\u89e3\u6790\u65e5\u671f\u5b57\u7b26\u4e32\u5e76\u521b\u5efa\u4e00\u4e2a\u65e5\u671f\u5bf9\u8c61\u3002\u6700\u540e\uff0c\u4f7f\u7528<code>strftime(&#39;%B&#39;)<\/code>\u65b9\u6cd5\u5c06\u65e5\u671f\u5bf9\u8c61\u683c\u5f0f\u5316\u4e3a\u6708\u4efd\u540d\u79f0\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u4ee5\u4e0a\u4ecb\u7ecd\u4e86\u4e09\u79cd\u5728Python\u4e2d\u901a\u8fc7\u8f93\u5165\u6570\u5b57\u83b7\u53d6\u5bf9\u5e94\u6708\u4efd\u540d\u79f0\u7684\u65b9\u6cd5\uff1a\u4f7f\u7528<code>datetime<\/code>\u6a21\u5757\u3001<code>calendar<\/code>\u6a21\u5757\u548c<code>dateutil<\/code>\u5e93\u3002\u8fd9\u4e09\u79cd\u65b9\u6cd5\u5404\u6709\u4f18\u52a3\uff0c\u5177\u4f53\u9009\u62e9\u54ea\u4e00\u79cd\u65b9\u6cd5\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u9700\u6c42\u548c\u9879\u76ee\u73af\u5883\u6765\u51b3\u5b9a\u3002<strong>\u4f7f\u7528<code>datetime<\/code>\u6a21\u5757\u662f\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\uff0c\u56e0\u5176\u7b80\u5355\u6613\u7528\u4e14\u4e3a\u6807\u51c6\u5e93\u7684\u4e00\u90e8\u5206\uff0c\u4e0d\u9700\u8981\u989d\u5916\u5b89\u88c5\u3002<\/strong><code>calendar<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u76f4\u63a5\u8bbf\u95ee\u6708\u4efd\u540d\u79f0\u7684\u7b80\u6d01\u65b9\u6cd5\uff0c\u800c<code>dateutil<\/code>\u5e93\u5219\u63d0\u4f9b\u4e86\u66f4\u4e3a\u4e30\u5bcc\u7684\u65e5\u671f\u89e3\u6790\u548c\u5904\u7406\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><p>\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u9700\u8981\u6ce8\u610f\u8f93\u5165\u7684\u6708\u4efd\u7f16\u53f7\u5e94\u57281\u523012\u4e4b\u95f4\uff0c\u5426\u5219\u53ef\u80fd\u4f1a\u5f15\u53d1\u9519\u8bef\u3002\u53ef\u4ee5\u5728\u51fd\u6570\u4e2d\u6dfb\u52a0\u8f93\u5165\u9a8c\u8bc1\uff0c\u4ee5\u786e\u4fdd\u8f93\u5165\u7684\u6708\u4efd\u7f16\u53f7\u6709\u6548\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def month_name_from_number(month_number):<\/p>\n<p>    if not (1 &lt;= month_number &lt;= 12):<\/p>\n<p>        r<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>se ValueError(&quot;\u6708\u4efd\u7f16\u53f7\u5fc5\u987b\u57281\u523012\u4e4b\u95f4&quot;)<\/p>\n<p>    date_object = datetime.datetime(2023, month_number, 1)<\/p>\n<p>    month_name = date_object.strftime(&#39;%B&#39;)<\/p>\n<p>    return month_name<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u53ef\u4ee5\u786e\u4fdd\u51fd\u6570\u5728\u5904\u7406\u65e0\u6548\u8f93\u5165\u65f6\u629b\u51fa\u9002\u5f53\u7684\u9519\u8bef\u63d0\u793a\uff0c\u4ece\u800c\u63d0\u9ad8\u4ee3\u7801\u7684\u5065\u58ee\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7684\u6765\u8bf4\uff0c\u638c\u63e1\u8fd9\u4e9b\u65b9\u6cd5\u5c06\u6709\u52a9\u4e8e\u5728Python\u7f16\u7a0b\u4e2d\u66f4\u7075\u6d3b\u5730\u5904\u7406\u65e5\u671f\u548c\u65f6\u95f4\u6570\u636e\uff0c\u4e3a\u5f00\u53d1\u5de5\u4f5c\u63d0\u4f9b\u66f4\u5927\u7684\u4fbf\u5229\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5c06\u6570\u5b571\u8f6c\u6362\u4e3a\u6708\u4efd\u540d\u79f0\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u5178\u6216\u5217\u8868\u6765\u5c06\u6570\u5b57\u4e0e\u5bf9\u5e94\u7684\u6708\u4efd\u540d\u79f0\u8fdb\u884c\u6620\u5c04\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u6708\u4efd\u540d\u79f0\u7684\u5217\u8868\uff0c\u7136\u540e\u901a\u8fc7\u7d22\u5f15\u6765\u83b7\u53d6\u76f8\u5e94\u7684\u6708\u4efd\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">months = [&quot;Jan&quot;, &quot;Feb&quot;, &quot;Mar&quot;, &quot;Apr&quot;, &quot;May&quot;, &quot;Jun&quot;, &quot;Jul&quot;, &quot;Aug&quot;, &quot;Sep&quot;, &quot;Oct&quot;, &quot;Nov&quot;, &quot;Dec&quot;]\nmonth_number = 1\nprint(months[month_number - 1])  # \u8f93\u51fa Jan\n<\/code><\/pre>\n<p>\u8fd9\u6837\uff0c\u4f60\u5c31\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06\u6570\u5b571\u8f6c\u6362\u4e3a&quot;Jan&quot;\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u4f7f\u7528Python\u7684\u65e5\u671f\u65f6\u95f4\u6a21\u5757\u6765\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\uff1f<\/strong><br \/>\u786e\u5b9e\u53ef\u4ee5\uff0cPython\u7684<code>datetime<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u529f\u80fd\u5f3a\u5927\u7684\u65e5\u671f\u548c\u65f6\u95f4\u5904\u7406\u529f\u80fd\u3002\u901a\u8fc7<code>datetime<\/code>\u6a21\u5757\uff0c\u53ef\u4ee5\u901a\u8fc7<code>strptime<\/code>\u65b9\u6cd5\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5bf9\u5e94\u7684\u6708\u4efd\u540d\u79f0\u3002\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">from datetime import datetime\n\nmonth_number = 1\nmonth_name = datetime(2000, month_number, 1).strftime(&#39;%b&#39;)\nprint(month_name)  # \u8f93\u51fa Jan\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u66f4\u52a0\u7075\u6d3b\uff0c\u9002\u5408\u9700\u8981\u5904\u7406\u65e5\u671f\u548c\u65f6\u95f4\u7684\u573a\u666f\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u6708\u4efd\u6570\u5b57\u5e76\u8f93\u51fa\u76f8\u5e94\u7684\u540d\u79f0\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7<code>input()<\/code>\u51fd\u6570\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u6708\u4efd\u6570\u5b57\uff0c\u5e76\u7ed3\u5408\u4e0a\u9762\u7684\u65b9\u6cd5\u8fdb\u884c\u8f6c\u6362\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<pre><code class=\"language-python\">months = [&quot;Jan&quot;, &quot;Feb&quot;, &quot;Mar&quot;, &quot;Apr&quot;, &quot;May&quot;, &quot;Jun&quot;, &quot;Jul&quot;, &quot;Aug&quot;, &quot;Sep&quot;, &quot;Oct&quot;, &quot;Nov&quot;, &quot;Dec&quot;]\nuser_input = int(input(&quot;\u8bf7\u8f93\u5165\u6708\u4efd\u6570\u5b57\uff081-12\uff09\uff1a&quot;))\nif 1 &lt;= user_input &lt;= 12:\n    print(months[user_input - 1])\nelse:\n    print(&quot;\u8f93\u5165\u65e0\u6548\uff0c\u8bf7\u8f93\u51651\u523012\u4e4b\u95f4\u7684\u6570\u5b57\u3002&quot;)\n<\/code><\/pre>\n<p>\u8fd9\u6837\uff0c\u7528\u6237\u8f93\u5165\u6709\u6548\u7684\u6570\u5b57\u5c31\u4f1a\u8fd4\u56de\u76f8\u5e94\u7684\u6708\u4efd\u540d\u79f0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u4f7f\u7528\u65e5\u671f\u6a21\u5757\u53ef\u4ee5\u5b9e\u73b0\u8f93\u5165\u6570\u5b571\u5e76\u8f93\u51fa\u5bf9\u5e94\u7684\u6708\u4efd\u540d\u79f0\u201cJanuary\u201d\u3002\u8981\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\uff0c\u53ef\u4ee5\u4f7f [&hellip;]","protected":false},"author":3,"featured_media":1120731,"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\/1120722"}],"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=1120722"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1120722\/revisions"}],"predecessor-version":[{"id":1120732,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1120722\/revisions\/1120732"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1120731"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1120722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1120722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1120722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}