{"id":1058712,"date":"2024-12-31T15:18:41","date_gmt":"2024-12-31T07:18:41","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1058712.html"},"modified":"2024-12-31T15:18:44","modified_gmt":"2024-12-31T07:18:44","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%ad%e6%98%af%e6%95%b0%e8%bf%98%e6%98%af%e5%ad%97%e6%af%8d","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1058712.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u5224\u65ad\u662f\u6570\u8fd8\u662f\u5b57\u6bcd"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/a4be7267-5f98-440f-9d3e-9d0674914f76.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"python\u4e2d\u5982\u4f55\u5224\u65ad\u662f\u6570\u8fd8\u662f\u5b57\u6bcd\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u662f\u6570\u5b57\u8fd8\u662f\u5b57\u6bcd\u4e3b\u8981\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u6cd5\uff1a\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u7c7b\u578b\u68c0\u67e5\u7b49\u3002<\/strong> \u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u4e2d\u7684<code>.isdigit()<\/code>\u548c<code>.isalpha()<\/code>\u3002\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u8f7b\u677e\u5224\u5b9a\u4e00\u4e2a\u5b57\u7b26\u662f\u5426\u662f\u6570\u5b57\u6216\u5b57\u6bcd\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b57\u7b26\u4e32\u65b9\u6cd5<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong><code>.isdigit()<\/code>\u65b9\u6cd5<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u8be5\u65b9\u6cd5\u7528\u4e8e\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u53ea\u5305\u542b\u6570\u5b57\u5b57\u7b26\u3002\u5982\u679c\u5b57\u7b26\u4e32\u53ea\u5305\u542b\u6570\u5b57\u5b57\u7b26\uff0c\u5219\u8fd4\u56deTrue\uff0c\u5426\u5219\u8fd4\u56deFalse\u3002<\/li>\n<li>\u4f8b\u5982\uff1a\n<pre><code class=\"language-python\">char = &#39;5&#39;<\/p>\n<p>if char.isdigit():<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u662f\u6570\u5b57&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u4e0d\u662f\u6570\u5b57&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u8be6\u7ec6\u63cf\u8ff0<\/strong>\uff1a<code>.isdigit()<\/code>\u65b9\u6cd5\u53ea\u5bf9\u5b57\u7b26\u4e32\u4e2d\u7684\u6570\u5b57\u5b57\u7b26\u6709\u6548\uff0c\u5305\u62ec\u963f\u62c9\u4f2f\u6570\u5b57\uff080-9\uff09\uff0c\u4f46\u4e0d\u5305\u62ec\u5c0f\u6570\u70b9\u3001\u8d1f\u53f7\u7b49\u3002\u5b83\u662f\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7eaf\u6570\u5b57\u7684\u6700\u7b80\u5355\u65b9\u6cd5\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong><code>.isalpha()<\/code>\u65b9\u6cd5<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u8be5\u65b9\u6cd5\u7528\u4e8e\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u53ea\u5305\u542b\u5b57\u6bcd\u5b57\u7b26\u3002\u5982\u679c\u5b57\u7b26\u4e32\u53ea\u5305\u542b\u5b57\u6bcd\u5b57\u7b26\uff0c\u5219\u8fd4\u56deTrue\uff0c\u5426\u5219\u8fd4\u56deFalse\u3002<\/li>\n<li>\u4f8b\u5982\uff1a\n<pre><code class=\"language-python\">char = &#39;A&#39;<\/p>\n<p>if char.isalpha():<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u662f\u5b57\u6bcd&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u4e0d\u662f\u5b57\u6bcd&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u8be6\u7ec6\u63cf\u8ff0<\/strong>\uff1a<code>.isalpha()<\/code>\u65b9\u6cd5\u53ea\u5bf9\u5b57\u7b26\u4e32\u4e2d\u7684\u5b57\u6bcd\u5b57\u7b26\u6709\u6548\uff0c\u5305\u62ec\u5927\u5199\u548c\u5c0f\u5199\u7684\u82f1\u6587\u5b57\u6bcd\uff08A-Z\uff0ca-z\uff09\uff0c\u4f46\u4e0d\u5305\u62ec\u7a7a\u683c\u3001\u6570\u5b57\u6216\u5176\u4ed6\u7b26\u53f7\u3002\u5b83\u662f\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7eaf\u5b57\u6bcd\u7684\u6709\u6548\u65b9\u6cd5\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u6b63\u5219\u8868\u8fbe\u5f0f<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6b63\u5219\u8868\u8fbe\u5f0f\u5224\u65ad\u6570\u5b57<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u53ef\u4ee5\u66f4\u52a0\u7075\u6d3b\u5730\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u662f\u5426\u4e3a\u6570\u5b57\u3002<\/li>\n<li>\u4f8b\u5982\uff1a\n<pre><code class=\"language-python\">import re<\/p>\n<p>char = &#39;5&#39;<\/p>\n<p>if re.match(r&#39;^\\d$&#39;, char):<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u662f\u6570\u5b57&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u4e0d\u662f\u6570\u5b57&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u8be6\u7ec6\u63cf\u8ff0<\/strong>\uff1a\u6b63\u5219\u8868\u8fbe\u5f0f<code>^\\d$<\/code>\u7528\u4e8e\u5339\u914d\u5355\u4e2a\u6570\u5b57\u5b57\u7b26\u3002\u6b63\u5219\u8868\u8fbe\u5f0f\u63d0\u4f9b\u4e86\u66f4\u5f3a\u7684\u6a21\u5f0f\u5339\u914d\u80fd\u529b\uff0c\u53ef\u4ee5\u5b9a\u5236\u66f4\u52a0\u590d\u6742\u7684\u5339\u914d\u89c4\u5219\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u6b63\u5219\u8868\u8fbe\u5f0f\u5224\u65ad\u5b57\u6bcd<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u540c\u6837\u5730\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u4e5f\u53ef\u4ee5\u7528\u4e8e\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u662f\u5426\u4e3a\u5b57\u6bcd\u3002<\/li>\n<li>\u4f8b\u5982\uff1a\n<pre><code class=\"language-python\">import re<\/p>\n<p>char = &#39;A&#39;<\/p>\n<p>if re.match(r&#39;^[A-Za-z]$&#39;, char):<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u662f\u5b57\u6bcd&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u4e0d\u662f\u5b57\u6bcd&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u8be6\u7ec6\u63cf\u8ff0<\/strong>\uff1a\u6b63\u5219\u8868\u8fbe\u5f0f<code>^[A-Za-z]$<\/code>\u7528\u4e8e\u5339\u914d\u5355\u4e2a\u5b57\u6bcd\u5b57\u7b26\u3002\u5b83\u53ef\u4ee5\u5339\u914d\u5927\u5199\u548c\u5c0f\u5199\u7684\u82f1\u6587\u5b57\u6bcd\u3002\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u7075\u6d3b\u6027\u4f7f\u5176\u5728\u66f4\u591a\u590d\u6742\u573a\u666f\u4e2d\u5177\u6709\u4f18\u52bf\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u7c7b\u578b\u68c0\u67e5<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>\u7c7b\u578b\u68c0\u67e5\u5224\u65ad\u6570\u5b57<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u76f4\u63a5\u68c0\u67e5\u6570\u636e\u7c7b\u578b\u4e5f\u53ef\u4ee5\u5224\u65ad\u4e00\u4e2a\u503c\u662f\u5426\u4e3a\u6570\u5b57\u3002<\/li>\n<li>\u4f8b\u5982\uff1a\n<pre><code class=\"language-python\">char = 5<\/p>\n<p>if isinstance(char, int):<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u662f\u6570\u5b57&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u4e0d\u662f\u6570\u5b57&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u8be6\u7ec6\u63cf\u8ff0<\/strong>\uff1a<code>isinstance()<\/code>\u51fd\u6570\u7528\u4e8e\u68c0\u67e5\u4e00\u4e2a\u5bf9\u8c61\u662f\u5426\u5c5e\u4e8e\u67d0\u4e2a\u6570\u636e\u7c7b\u578b\u3002\u5bf9\u4e8e\u6570\u5b57\uff0c\u53ef\u4ee5\u4f7f\u7528<code>int<\/code>\u3001<code>float<\/code>\u7b49\u7c7b\u578b\u8fdb\u884c\u68c0\u67e5\u3002\u8fd9\u79cd\u65b9\u6cd5\u66f4\u9002\u7528\u4e8e\u76f4\u63a5\u5224\u65ad\u53d8\u91cf\u7c7b\u578b\u800c\u4e0d\u662f\u5b57\u7b26\u4e32\u5185\u5bb9\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7c7b\u578b\u68c0\u67e5\u5224\u65ad\u5b57\u6bcd<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u5bf9\u4e8e\u5b57\u6bcd\uff0c\u7c7b\u578b\u68c0\u67e5\u65b9\u6cd5\u5e76\u4e0d\u76f4\u63a5\u9002\u7528\uff0c\u56e0\u4e3a\u5b57\u6bcd\u901a\u5e38\u662f\u4ee5\u5b57\u7b26\u4e32\u5f62\u5f0f\u5b58\u5728\u3002<\/li>\n<li>\u6240\u4ee5\uff0c\u4ecd\u7136\u63a8\u8350\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u6216\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5224\u65ad\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u5176\u4ed6\u65b9\u6cd5<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>\u624b\u52a8\u5224\u65ad<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u901a\u8fc7\u624b\u52a8\u6bd4\u8f83\u5b57\u7b26\u7684ASCII\u7801\u4e5f\u53ef\u4ee5\u5224\u65ad\u5b57\u7b26\u662f\u6570\u5b57\u8fd8\u662f\u5b57\u6bcd\u3002<\/li>\n<li>\u4f8b\u5982\uff1a\n<pre><code class=\"language-python\">char = &#39;5&#39;<\/p>\n<p>if &#39;0&#39; &lt;= char &lt;= &#39;9&#39;:<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u662f\u6570\u5b57&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u4e0d\u662f\u6570\u5b57&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528<code>string<\/code>\u6a21\u5757<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>Python\u7684<code>string<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u4e00\u4e9b\u6709\u7528\u7684\u5e38\u91cf\u6765\u5224\u65ad\u5b57\u7b26\u3002<\/li>\n<li>\u4f8b\u5982\uff1a\n<pre><code class=\"language-python\">import string<\/p>\n<p>char = &#39;A&#39;<\/p>\n<p>if char in string.digits:<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u662f\u6570\u5b57&quot;)<\/p>\n<p>elif char in string.ascii_letters:<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u662f\u5b57\u6bcd&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;&#39;{char}&#39;\u65e2\u4e0d\u662f\u6570\u5b57\u4e5f\u4e0d\u662f\u5b57\u6bcd&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u662f\u6570\u5b57\u8fd8\u662f\u5b57\u6bcd\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u5305\u62ec\u5b57\u7b26\u4e32\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u7c7b\u578b\u68c0\u67e5\u7b49\u3002\u6700\u5e38\u7528\u4e14\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u5b57\u7b26\u4e32\u7684<code>.isdigit()<\/code>\u548c<code>.isalpha()<\/code>\u65b9\u6cd5\uff0c\u5b83\u4eec\u53ef\u4ee5\u5feb\u901f\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u662f\u5426\u4e3a\u6570\u5b57\u6216\u5b57\u6bcd\u3002\u5bf9\u4e8e\u66f4\u590d\u6742\u7684\u5224\u65ad\u9700\u6c42\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6216\u5176\u4ed6\u624b\u52a8\u6bd4\u8f83\u65b9\u6cd5\u3002\u4e86\u89e3\u548c\u7075\u6d3b\u8fd0\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u4f7f\u6211\u4eec\u5728\u7f16\u7a0b\u4e2d\u66f4\u52a0\u9ad8\u6548\u5730\u5904\u7406\u5b57\u7b26\u5224\u65ad\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u662f\u6570\u5b57\u8fd8\u662f\u5b57\u6bcd\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528<code>str.isdigit()<\/code>\u65b9\u6cd5\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u662f\u5426\u4e3a\u6570\u5b57\uff0c\u4f7f\u7528<code>str.isalpha()<\/code>\u65b9\u6cd5\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u662f\u5426\u4e3a\u5b57\u6bcd\u3002\u4f8b\u5982\uff0c<code>&#39;5&#39;.isdigit()<\/code>\u4f1a\u8fd4\u56de<code>True<\/code>\uff0c\u800c<code>&#39;a&#39;.isalpha()<\/code>\u5219\u8fd4\u56de<code>True<\/code>\u3002\u8fd9\u4e24\u4e2a\u65b9\u6cd5\u975e\u5e38\u9002\u5408\u7528\u6765\u5904\u7406\u5b57\u7b26\u4e32\u4e2d\u7684\u5b57\u7b26\u5206\u7c7b\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u540c\u65f6\u68c0\u67e5\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u5305\u542b\u6570\u5b57\u548c\u5b57\u6bcd\uff1f<\/strong><br \/>\u53ef\u4ee5\u7ed3\u5408\u4f7f\u7528<code>any()<\/code>\u51fd\u6570\u548c\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u5b9e\u73b0\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>any(char.isdigit() for char in string)<\/code>\u6765\u5224\u65ad\u5b57\u7b26\u4e32\u4e2d\u662f\u5426\u6709\u6570\u5b57\uff0c\u4f7f\u7528<code>any(char.isalpha() for char in string)<\/code>\u6765\u5224\u65ad\u662f\u5426\u6709\u5b57\u6bcd\u3002\u8fd9\u6837\u53ef\u4ee5\u6709\u6548\u5730\u786e\u8ba4\u5b57\u7b26\u4e32\u4e2d\u662f\u5426\u540c\u65f6\u5305\u542b\u8fd9\u4e24\u79cd\u7c7b\u578b\u7684\u5b57\u7b26\u3002<\/p>\n<p><strong>\u5982\u679c\u6211\u60f3\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u7eaf\u6570\u5b57\u3001\u7eaf\u5b57\u6bcd\u8fd8\u662f\u6df7\u5408\uff0c\u5e94\u8be5\u600e\u4e48\u505a\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528<code>str.isdigit()<\/code>\u548c<code>str.isalpha()<\/code>\u65b9\u6cd5\u7ed3\u5408\u6761\u4ef6\u5224\u65ad\u6765\u5b9e\u73b0\u3002\u5bf9\u4e8e\u7eaf\u6570\u5b57\uff0c\u4f7f\u7528<code>string.isdigit()<\/code>\uff0c\u5bf9\u4e8e\u7eaf\u5b57\u6bcd\uff0c\u4f7f\u7528<code>string.isalpha()<\/code>\uff0c\u5982\u679c\u4e24\u8005\u90fd\u4e0d\u6210\u7acb\uff0c\u5219\u53ef\u4ee5\u8ba4\u4e3a\u662f\u6df7\u5408\u7c7b\u578b\u6216\u5176\u4ed6\u5b57\u7b26\u3002\u8fd9\u6837\u7684\u5224\u65ad\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5feb\u901f\u4e86\u89e3\u5b57\u7b26\u4e32\u7684\u7279\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u662f\u6570\u5b57\u8fd8\u662f\u5b57\u6bcd\u4e3b\u8981\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u6cd5\uff1a\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u7c7b\u578b\u68c0\u67e5\u7b49\u3002 [&hellip;]","protected":false},"author":3,"featured_media":1058719,"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\/1058712"}],"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=1058712"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1058712\/revisions"}],"predecessor-version":[{"id":1058724,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1058712\/revisions\/1058724"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1058719"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1058712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1058712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1058712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}