{"id":1133369,"date":"2025-01-08T21:05:49","date_gmt":"2025-01-08T13:05:49","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1133369.html"},"modified":"2025-01-08T21:05:52","modified_gmt":"2025-01-08T13:05:52","slug":"python%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%ad%e4%b8%80%e4%b8%aa%e5%80%bc%e6%98%af%e5%90%a6%e4%b8%ba%e6%95%b4%e6%95%b0-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1133369.html","title":{"rendered":"python\u5982\u4f55\u5224\u65ad\u4e00\u4e2a\u503c\u662f\u5426\u4e3a\u6574\u6570"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25102623\/1e8f9073-71dc-4394-a00d-f8b17359f5cb.webp\" alt=\"python\u5982\u4f55\u5224\u65ad\u4e00\u4e2a\u503c\u662f\u5426\u4e3a\u6574\u6570\" \/><\/p>\n<p><p> <strong>Python\u5224\u65ad\u4e00\u4e2a\u503c\u662f\u5426\u4e3a\u6574\u6570\u7684\u4e3b\u8981\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528\u5185\u7f6e\u51fd\u6570<code>isinstance()<\/code>\u3001\u4f7f\u7528<code>float.is_integer()<\/code>\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001<code>try-except<\/code>\u8bed\u53e5\u6355\u83b7\u5f02\u5e38\u3002<\/strong> \u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u5185\u7f6e\u51fd\u6570<code>isinstance()<\/code>\uff0c\u56e0\u4e3a\u5b83\u80fd\u591f\u9ad8\u6548\u4e14\u51c6\u786e\u5730\u5224\u65ad\u4e00\u4e2a\u503c\u662f\u5426\u4e3a\u6574\u6570\u7c7b\u578b\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u5e76\u63a2\u8ba8\u5b83\u4eec\u7684\u4f18\u7f3a\u70b9\u548c\u9002\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528<code>isinstance()<\/code>\u51fd\u6570<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528<code>isinstance()<\/code>\u51fd\u6570\u662f\u5224\u65ad\u4e00\u4e2a\u503c\u662f\u5426\u4e3a\u6574\u6570\u7684\u6700\u76f4\u63a5\u4e14\u9ad8\u6548\u7684\u65b9\u6cd5\u3002\u8be5\u51fd\u6570\u7684\u8bed\u6cd5\u4e3a<code>isinstance(object, classinfo)<\/code>\uff0c\u7528\u4e8e\u68c0\u67e5\u5bf9\u8c61\u662f\u5426\u4e3a\u67d0\u4e00\u7279\u5b9a\u7c7b\u578b\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">value = 5<\/p>\n<p>if isinstance(value, int):<\/p>\n<p>    print(f&quot;{value} \u662f\u4e00\u4e2a\u6574\u6570&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;{value} \u4e0d\u662f\u4e00\u4e2a\u6574\u6570&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u4f18\u70b9\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u9ad8\u6548\u4e14\u7b80\u6d01<\/strong>\uff1a\u4ee3\u7801\u7b80\u6d01\u660e\u4e86\uff0c\u6267\u884c\u6548\u7387\u9ad8\u3002<\/li>\n<li><strong>\u51c6\u786e<\/strong>\uff1a\u80fd\u591f\u51c6\u786e\u5730\u5224\u65ad\u4e00\u4e2a\u503c\u662f\u5426\u4e3a\u6574\u6570\u7c7b\u578b\u3002<\/li>\n<\/ol>\n<p><h4>\u7f3a\u70b9\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u7c7b\u578b\u9650\u5236<\/strong>\uff1a\u53ea\u80fd\u5224\u65ad Python \u5185\u7f6e\u7684\u6574\u6570\u7c7b\u578b\uff0c\u65e0\u6cd5\u5224\u65ad\u5b57\u7b26\u4e32\u5f62\u5f0f\u7684\u6570\u5b57\u3002<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u4f7f\u7528<code>float.is_integer()<\/code>\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u6d6e\u70b9\u6570\u7c7b\u578b\u7684\u503c\uff0c\u53ef\u4ee5\u4f7f\u7528<code>float.is_integer()<\/code>\u65b9\u6cd5\u6765\u5224\u65ad\u5176\u662f\u5426\u4e3a\u6574\u6570\u3002\u8be5\u65b9\u6cd5\u8fd4\u56de\u5e03\u5c14\u503c\uff0c\u8868\u793a\u6d6e\u70b9\u6570\u662f\u5426\u4e3a\u6574\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">value = 5.0<\/p>\n<p>if isinstance(value, float) and value.is_integer():<\/p>\n<p>    print(f&quot;{value} \u662f\u4e00\u4e2a\u6574\u6570&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;{value} \u4e0d\u662f\u4e00\u4e2a\u6574\u6570&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u4f18\u70b9\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u9002\u7528\u4e8e\u6d6e\u70b9\u6570<\/strong>\uff1a\u80fd\u591f\u5224\u65ad\u6d6e\u70b9\u6570\u662f\u5426\u4e3a\u6574\u6570\u3002<\/li>\n<li><strong>\u7b80\u6d01<\/strong>\uff1a\u4ee3\u7801\u7b80\u6d01\u660e\u4e86\u3002<\/li>\n<\/ol>\n<p><h4>\u7f3a\u70b9\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u4ec5\u9002\u7528\u4e8e\u6d6e\u70b9\u6570<\/strong>\uff1a\u53ea\u80fd\u7528\u4e8e\u6d6e\u70b9\u6570\u7c7b\u578b\uff0c\u65e0\u6cd5\u5224\u65ad\u5176\u4ed6\u7c7b\u578b\u3002<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u53ef\u4ee5\u5224\u65ad\u5b57\u7b26\u4e32\u5f62\u5f0f\u7684\u503c\u662f\u5426\u4e3a\u6574\u6570\u3002\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u8bed\u6cd5\u5f3a\u5927\u4e14\u7075\u6d3b\uff0c\u80fd\u591f\u5904\u7406\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5339\u914d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>value = &quot;123&quot;<\/p>\n<p>if re.match(r&quot;^-?\\d+$&quot;, value):<\/p>\n<p>    print(f&quot;{value} \u662f\u4e00\u4e2a\u6574\u6570&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;{value} \u4e0d\u662f\u4e00\u4e2a\u6574\u6570&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u4f18\u70b9\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u7075\u6d3b<\/strong>\uff1a\u80fd\u591f\u5904\u7406\u5b57\u7b26\u4e32\u5f62\u5f0f\u7684\u6570\u5b57\u3002<\/li>\n<li><strong>\u5f3a\u5927<\/strong>\uff1a\u53ef\u4ee5\u5904\u7406\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5339\u914d\u3002<\/li>\n<\/ol>\n<p><h4>\u7f3a\u70b9\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u590d\u6742\u5ea6\u9ad8<\/strong>\uff1a\u4ee3\u7801\u76f8\u5bf9\u590d\u6742\uff0c\u4e0d\u9002\u5408\u521d\u5b66\u8005\u3002<\/li>\n<li><strong>\u6027\u80fd\u8f83\u4f4e<\/strong>\uff1a\u6267\u884c\u6548\u7387\u76f8\u5bf9\u8f83\u4f4e\u3002<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u4f7f\u7528<code>try-except<\/code>\u8bed\u53e5\u6355\u83b7\u5f02\u5e38<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u5c06\u503c\u8f6c\u6362\u4e3a\u6574\u6570\u7c7b\u578b\uff0c\u5e76\u4f7f\u7528<code>try-except<\/code>\u8bed\u53e5\u6355\u83b7\u53ef\u80fd\u7684\u5f02\u5e38\uff0c\u53ef\u4ee5\u5224\u65ad\u4e00\u4e2a\u503c\u662f\u5426\u4e3a\u6574\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">value = &quot;123&quot;<\/p>\n<p>try:<\/p>\n<p>    int_value = int(value)<\/p>\n<p>    print(f&quot;{value} \u662f\u4e00\u4e2a\u6574\u6570&quot;)<\/p>\n<p>except ValueError:<\/p>\n<p>    print(f&quot;{value} \u4e0d\u662f\u4e00\u4e2a\u6574\u6570&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u4f18\u70b9\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u9002\u7528\u8303\u56f4\u5e7f<\/strong>\uff1a\u80fd\u591f\u5904\u7406\u5b57\u7b26\u4e32\u3001\u6d6e\u70b9\u6570\u7b49\u591a\u79cd\u7c7b\u578b\u3002<\/li>\n<li><strong>\u7b80\u5355<\/strong>\uff1a\u4ee3\u7801\u76f8\u5bf9\u7b80\u5355\u6613\u61c2\u3002<\/li>\n<\/ol>\n<p><h4>\u7f3a\u70b9\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u6027\u80fd\u8f83\u4f4e<\/strong>\uff1a\u6355\u83b7\u5f02\u5e38\u7684\u6027\u80fd\u8f83\u4f4e\u3002<\/li>\n<li><strong>\u4ee3\u7801\u5197\u957f<\/strong>\uff1a\u76f8\u5bf9\u4e8e\u5176\u4ed6\u65b9\u6cd5\uff0c\u4ee3\u7801\u8f83\u4e3a\u5197\u957f\u3002<\/li>\n<\/ol>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u9700\u6c42\u548c\u573a\u666f\u3002\u5982\u679c\u9700\u8981\u5224\u65ad\u7684\u503c\u662f\u5185\u7f6e\u6574\u6570\u7c7b\u578b\uff0c\u63a8\u8350\u4f7f\u7528<code>isinstance()<\/code>\u51fd\u6570\uff0c\u56e0\u4e3a\u5b83\u9ad8\u6548\u4e14\u7b80\u6d01\u3002\u5982\u679c\u9700\u8981\u5224\u65ad\u6d6e\u70b9\u6570\u662f\u5426\u4e3a\u6574\u6570\uff0c\u53ef\u4ee5\u4f7f\u7528<code>float.is_integer()<\/code>\u65b9\u6cd5\u3002\u5982\u679c\u9700\u8981\u5904\u7406\u5b57\u7b26\u4e32\u5f62\u5f0f\u7684\u6570\u5b57\uff0c\u53ef\u4ee5\u9009\u62e9\u6b63\u5219\u8868\u8fbe\u5f0f\u6216<code>try-except<\/code>\u8bed\u53e5\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u6df1\u5165\u63a2\u8ba8\u4e0e\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u66f4\u6df1\u5165\u5730\u7406\u89e3\u8fd9\u4e9b\u65b9\u6cd5\u7684\u5e94\u7528\u573a\u666f\u548c\u5b9e\u73b0\u7ec6\u8282\uff0c\u4e0b\u9762\u5c06\u901a\u8fc7\u51e0\u4e2a\u5177\u4f53\u7684\u793a\u4f8b\u6765\u5c55\u793a\u5b83\u4eec\u7684\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b1\uff1a\u5224\u65ad\u7528\u6237\u8f93\u5165\u662f\u5426\u4e3a\u6574\u6570<\/h4>\n<\/p>\n<p><p>\u5728\u5f00\u53d1\u7528\u6237\u4ea4\u4e92\u7684\u5e94\u7528\u7a0b\u5e8f\u65f6\uff0c\u5224\u65ad\u7528\u6237\u8f93\u5165\u662f\u5426\u4e3a\u6574\u6570\u662f\u4e00\u4e2a\u5e38\u89c1\u7684\u9700\u6c42\u3002\u53ef\u4ee5\u4f7f\u7528<code>try-except<\/code>\u8bed\u53e5\u6765\u5904\u7406\u8fd9\u79cd\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">user_input = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u503c\uff1a&quot;)<\/p>\n<p>try:<\/p>\n<p>    int_value = int(user_input)<\/p>\n<p>    print(f&quot;\u7528\u6237\u8f93\u5165\u7684 {user_input} \u662f\u4e00\u4e2a\u6574\u6570&quot;)<\/p>\n<p>except ValueError:<\/p>\n<p>    print(f&quot;\u7528\u6237\u8f93\u5165\u7684 {user_input} \u4e0d\u662f\u4e00\u4e2a\u6574\u6570&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u793a\u4f8b2\uff1a\u5904\u7406\u6d6e\u70b9\u6570\u5217\u8868<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u5305\u542b\u6d6e\u70b9\u6570\u7684\u5217\u8868\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>float.is_integer()<\/code>\u65b9\u6cd5\u6765\u7b5b\u9009\u51fa\u6574\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">values = [1.0, 2.5, 3.0, 4.1, 5.0]<\/p>\n<p>integers = [value for value in values if value.is_integer()]<\/p>\n<p>print(f&quot;\u6d6e\u70b9\u6570\u5217\u8868\u4e2d\u7684\u6574\u6570\u6709\uff1a{integers}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u793a\u4f8b3\uff1a\u9a8c\u8bc1\u5b57\u7b26\u4e32\u683c\u5f0f<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u7528\u6237\u63d0\u4f9b\u7684\u5b57\u7b26\u4e32\u6570\u636e\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u9a8c\u8bc1\u5176\u662f\u5426\u4e3a\u6574\u6570\u683c\u5f0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>user_input = &quot;123&quot;<\/p>\n<p>if re.match(r&quot;^-?\\d+$&quot;, user_input):<\/p>\n<p>    print(f&quot;\u5b57\u7b26\u4e32 {user_input} \u662f\u4e00\u4e2a\u6574\u6570&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;\u5b57\u7b26\u4e32 {user_input} \u4e0d\u662f\u4e00\u4e2a\u6574\u6570&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u793a\u4f8b\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u7406\u89e3\u4e0d\u540c\u65b9\u6cd5\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u4f18\u7f3a\u70b9\u548c\u9002\u7528\u573a\u666f\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u5e94\u6839\u636e\u5177\u4f53\u9700\u6c42\u548c\u573a\u666f\u6765\u7075\u6d3b\u5e94\u7528\uff0c\u4ee5\u8fbe\u5230\u6700\u4f73\u6548\u679c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u68c0\u67e5\u4e00\u4e2a\u503c\u7684\u7c7b\u578b\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>type()<\/code>\u51fd\u6570\u6765\u68c0\u67e5\u4e00\u4e2a\u503c\u7684\u7c7b\u578b\u3002\u4f8b\u5982\uff0c\u901a\u8fc7<code>type(value) == int<\/code>\u53ef\u4ee5\u5224\u65ad<code>value<\/code>\u662f\u5426\u4e3a\u6574\u6570\u3002\u6b64\u5916\uff0c\u4f7f\u7528<code>isinstance(value, int)<\/code>\u4e5f\u662f\u4e00\u79cd\u63a8\u8350\u7684\u65b9\u6cd5\uff0c\u5b83\u4e0d\u4ec5\u53ef\u4ee5\u68c0\u67e5\u503c\u7684\u7c7b\u578b\uff0c\u8fd8\u80fd\u8003\u8651\u5230\u5b50\u7c7b\u7684\u60c5\u51b5\u3002<\/p>\n<p><strong>Python\u4e2d\u5982\u4f55\u5904\u7406\u975e\u6574\u6570\u7c7b\u578b\u7684\u503c\uff1f<\/strong><br \/>\u5f53\u4f60\u9700\u8981\u5904\u7406\u975e\u6574\u6570\u7c7b\u578b\u7684\u503c\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u5f02\u5e38\u5904\u7406\u673a\u5236\u6765\u6355\u83b7\u9519\u8bef\u3002\u4f8b\u5982\uff0c\u5c1d\u8bd5\u5c06\u4e00\u4e2a\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6574\u6570\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>try<\/code>\u548c<code>except<\/code>\u8bed\u53e5\u6765\u907f\u514d\u7a0b\u5e8f\u5d29\u6e83\u3002\u8fd9\u6837\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u7ba1\u7406\u8f93\u5165\u6570\u636e\uff0c\u5e76\u786e\u4fdd\u5b83\u4eec\u7b26\u5408\u9884\u671f\u683c\u5f0f\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u5224\u65ad\u6d6e\u70b9\u6570\u662f\u5426\u53ef\u4ee5\u8f6c\u5316\u4e3a\u6574\u6570\uff1f<\/strong><br \/>\u82e5\u60f3\u5224\u65ad\u4e00\u4e2a\u6d6e\u70b9\u6570\u662f\u5426\u53ef\u4ee5\u5b89\u5168\u5730\u8f6c\u6362\u4e3a\u6574\u6570\uff0c\u53ef\u4ee5\u4f7f\u7528<code>float.is_integer()<\/code>\u65b9\u6cd5\u3002\u8fd9\u4e2a\u65b9\u6cd5\u4f1a\u8fd4\u56de\u4e00\u4e2a\u5e03\u5c14\u503c\uff0c\u6307\u793a\u8be5\u6d6e\u70b9\u6570\u662f\u5426\u662f\u4e00\u4e2a\u6574\u6570\u503c\u3002\u5982\u679c\u8fd4\u56de<code>True<\/code>\uff0c\u5219\u53ef\u4ee5\u653e\u5fc3\u5730\u5c06\u5176\u8f6c\u6362\u4e3a\u6574\u6570\uff0c\u800c\u4e0d\u4f1a\u4e22\u5931\u7cbe\u5ea6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5224\u65ad\u4e00\u4e2a\u503c\u662f\u5426\u4e3a\u6574\u6570\u7684\u4e3b\u8981\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528\u5185\u7f6e\u51fd\u6570isinstance()\u3001\u4f7f\u7528float.is_in [&hellip;]","protected":false},"author":3,"featured_media":1133376,"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\/1133369"}],"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=1133369"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1133369\/revisions"}],"predecessor-version":[{"id":1133377,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1133369\/revisions\/1133377"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1133376"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1133369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1133369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1133369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}