{"id":1139964,"date":"2025-01-08T22:15:27","date_gmt":"2025-01-08T14:15:27","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1139964.html"},"modified":"2025-01-08T22:15:30","modified_gmt":"2025-01-08T14:15:30","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e5%b0%86%e5%ad%97%e7%ac%a6%e4%b8%b2%e8%bd%ac%e6%8d%a2%e6%95%b0%e5%80%bc%e5%9e%8b","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1139964.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u6570\u503c\u578b"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25103109\/12d6a892-be62-4d99-864c-0ea08ccd16b4.webp\" alt=\"python\u4e2d\u5982\u4f55\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u6570\u503c\u578b\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u5185\u7f6e\u51fd\u6570\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u503c\u578b\u3002\u5e38\u7528\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u4e3b\u8981\u5305\u62ec\u4f7f\u7528<code>int()<\/code>\u51fd\u6570\u3001<code>float()<\/code>\u51fd\u6570\u548c<code>decimal.Decimal()<\/code>\u7c7b\u3002<\/strong> \u5176\u4e2d\uff0c\u6700\u5e38\u89c1\u7684\u662f\u4f7f\u7528<code>int()<\/code>\u548c<code>float()<\/code>\u51fd\u6570\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u63a2\u8ba8\u5982\u4f55\u5728Python\u4e2d\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u503c\u578b\uff0c\u5e76\u8ba8\u8bba\u5404\u79cd\u65b9\u6cd5\u7684\u4f18\u7f3a\u70b9\u53ca\u9002\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<hr>\n<h2><strong>\u4e00\u3001\u4f7f\u7528 <code>int()<\/code> \u51fd\u6570\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6574\u6570<\/strong><\/h2>\n<p><p>\u4f7f\u7528 <code>int()<\/code> \u51fd\u6570\u662f\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6574\u6570\u7684\u6700\u76f4\u63a5\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h2>\u57fa\u672c\u7528\u6cd5<\/h2>\n<\/p>\n<p><p><code>int()<\/code> \u51fd\u6570\u53ef\u4ee5\u5c06\u4e00\u4e2a\u8868\u793a\u6574\u6570\u7684\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u4e00\u4e2a\u6574\u6570\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num_str = &quot;123&quot;<\/p>\n<p>num_int = int(num_str)<\/p>\n<p>print(num_int)  # \u8f93\u51fa\uff1a123<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u5904\u7406\u5e26\u7b26\u53f7\u7684\u5b57\u7b26\u4e32<\/h2>\n<\/p>\n<p><p><code>int()<\/code> \u51fd\u6570\u8fd8\u53ef\u4ee5\u5904\u7406\u5e26\u7b26\u53f7\u7684\u5b57\u7b26\u4e32\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num_str = &quot;-123&quot;<\/p>\n<p>num_int = int(num_str)<\/p>\n<p>print(num_int)  # \u8f93\u51fa\uff1a-123<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u8fdb\u5236\u8f6c\u6362<\/h2>\n<\/p>\n<p><p><code>int()<\/code> \u51fd\u6570\u8fd8\u53ef\u4ee5\u5c06\u4e0d\u540c\u8fdb\u5236\u7684\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u5341\u8fdb\u5236\u6574\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num_str = &quot;1010&quot;<\/p>\n<p>num_int = int(num_str, 2)  # \u5c06\u4e8c\u8fdb\u5236\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u5341\u8fdb\u5236\u6574\u6570<\/p>\n<p>print(num_int)  # \u8f93\u51fa\uff1a10<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f46\u662f\uff0c<code>int()<\/code> \u51fd\u6570\u4e0d\u80fd\u5904\u7406\u5305\u542b\u5c0f\u6570\u70b9\u7684\u5b57\u7b26\u4e32\u3002\u5982\u679c\u5c1d\u8bd5\u8f6c\u6362\u5305\u542b\u5c0f\u6570\u70b9\u7684\u5b57\u7b26\u4e32\uff0c\u4f1a\u629b\u51fa <code>ValueError<\/code> \u5f02\u5e38\u3002<\/p>\n<\/p>\n<hr>\n<h2><strong>\u4e8c\u3001\u4f7f\u7528 <code>float()<\/code> \u51fd\u6570\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570<\/strong><\/h2>\n<p><p><code>float()<\/code> \u51fd\u6570\u53ef\u4ee5\u5c06\u4e00\u4e2a\u8868\u793a\u6d6e\u70b9\u6570\u7684\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570\u3002<\/p>\n<\/p>\n<p><h2>\u57fa\u672c\u7528\u6cd5<\/h2>\n<\/p>\n<p><p><code>float()<\/code> \u51fd\u6570\u53ef\u4ee5\u5c06\u5305\u542b\u5c0f\u6570\u70b9\u7684\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num_str = &quot;123.456&quot;<\/p>\n<p>num_float = float(num_str)<\/p>\n<p>print(num_float)  # \u8f93\u51fa\uff1a123.456<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u5904\u7406\u79d1\u5b66\u8ba1\u6570\u6cd5\u7684\u5b57\u7b26\u4e32<\/h2>\n<\/p>\n<p><p><code>float()<\/code> \u51fd\u6570\u8fd8\u53ef\u4ee5\u5904\u7406\u79d1\u5b66\u8ba1\u6570\u6cd5\u8868\u793a\u7684\u5b57\u7b26\u4e32\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num_str = &quot;1.23e4&quot;<\/p>\n<p>num_float = float(num_str)<\/p>\n<p>print(num_float)  # \u8f93\u51fa\uff1a12300.0<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0e <code>int()<\/code> \u51fd\u6570\u4e0d\u540c\uff0c<code>float()<\/code> \u51fd\u6570\u53ef\u4ee5\u5904\u7406\u5305\u542b\u5c0f\u6570\u70b9\u7684\u5b57\u7b26\u4e32\uff0c\u4f46\u540c\u6837\u4e0d\u80fd\u5904\u7406\u4e0d\u5408\u6cd5\u7684\u5b57\u7b26\u4e32\uff0c\u4f8b\u5982\uff1a&quot;123abc&quot;\u3002<\/p>\n<\/p>\n<hr>\n<h2><strong>\u4e09\u3001\u4f7f\u7528 <code>decimal.Decimal()<\/code> \u7c7b\u8fdb\u884c\u9ad8\u7cbe\u5ea6\u8f6c\u6362<\/strong><\/h2>\n<p><p>\u5f53\u5904\u7406\u9700\u8981\u9ad8\u7cbe\u5ea6\u7684\u6570\u503c\u8fd0\u7b97\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>decimal.Decimal()<\/code> \u7c7b\u3002<\/p>\n<\/p>\n<p><h2>\u57fa\u672c\u7528\u6cd5<\/h2>\n<\/p>\n<p><p><code>decimal.Decimal()<\/code> \u7c7b\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u9ad8\u7cbe\u5ea6\u7684 <code>Decimal<\/code> \u5bf9\u8c61\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from decimal import Decimal<\/p>\n<p>num_str = &quot;123.456&quot;<\/p>\n<p>num_decimal = Decimal(num_str)<\/p>\n<p>print(num_decimal)  # \u8f93\u51fa\uff1a123.456<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u9ad8\u7cbe\u5ea6\u8fd0\u7b97<\/h2>\n<\/p>\n<p><p><code>Decimal<\/code> \u5bf9\u8c61\u63d0\u4f9b\u4e86\u9ad8\u7cbe\u5ea6\u7684\u8fd0\u7b97\u80fd\u529b\uff0c\u975e\u5e38\u9002\u5408\u91d1\u878d\u8ba1\u7b97\u7b49\u9700\u8981\u9ad8\u7cbe\u5ea6\u7684\u573a\u666f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num_str1 = &quot;0.1&quot;<\/p>\n<p>num_str2 = &quot;0.2&quot;<\/p>\n<p>num_decimal1 = Decimal(num_str1)<\/p>\n<p>num_decimal2 = Decimal(num_str2)<\/p>\n<p>sum_decimal = num_decimal1 + num_decimal2<\/p>\n<p>print(sum_decimal)  # \u8f93\u51fa\uff1a0.3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<hr>\n<h2><strong>\u56db\u3001\u5904\u7406\u5f02\u5e38\u60c5\u51b5<\/strong><\/h2>\n<p><p>\u5728\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u503c\u578b\u65f6\uff0c\u7ecf\u5e38\u4f1a\u9047\u5230\u975e\u6cd5\u5b57\u7b26\u4e32\u5bfc\u81f4\u7684\u5f02\u5e38\u3002\u53ef\u4ee5\u4f7f\u7528 <code>try<\/code> \u548c <code>except<\/code> \u8bed\u53e5\u6765\u5904\u7406\u8fd9\u4e9b\u5f02\u5e38\u3002<\/p>\n<\/p>\n<p><h2>\u5904\u7406 <code>ValueError<\/code> \u5f02\u5e38<\/h2>\n<\/p>\n<p><p>\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num_str = &quot;abc&quot;<\/p>\n<p>try:<\/p>\n<p>    num_int = int(num_str)<\/p>\n<p>except ValueError:<\/p>\n<p>    print(f&quot;\u65e0\u6cd5\u5c06 &#39;{num_str}&#39; \u8f6c\u6362\u4e3a\u6574\u6570&quot;)<\/p>\n<p>try:<\/p>\n<p>    num_float = float(num_str)<\/p>\n<p>except ValueError:<\/p>\n<p>    print(f&quot;\u65e0\u6cd5\u5c06 &#39;{num_str}&#39; \u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u81ea\u5b9a\u4e49\u51fd\u6570\u5904\u7406\u8f6c\u6362<\/h2>\n<\/p>\n<p><p>\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u6765\u5904\u7406\u5b57\u7b26\u4e32\u5230\u6574\u6570\u6216\u6d6e\u70b9\u6570\u7684\u8f6c\u6362\uff0c\u5e76\u8fd4\u56de\u9ed8\u8ba4\u503c\u6216\u9519\u8bef\u4fe1\u606f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def str_to_int(s, default=0):<\/p>\n<p>    try:<\/p>\n<p>        return int(s)<\/p>\n<p>    except ValueError:<\/p>\n<p>        return default<\/p>\n<p>def str_to_float(s, default=0.0):<\/p>\n<p>    try:<\/p>\n<p>        return float(s)<\/p>\n<p>    except ValueError:<\/p>\n<p>        return default<\/p>\n<p>num_str = &quot;abc&quot;<\/p>\n<p>print(str_to_int(num_str))  # \u8f93\u51fa\uff1a0<\/p>\n<p>print(str_to_float(num_str))  # \u8f93\u51fa\uff1a0.0<\/p>\n<p><\/code><\/pre>\n<\/p>\n<hr>\n<h2><strong>\u4e94\u3001\u5b57\u7b26\u4e32\u8f6c\u6362\u6570\u503c\u578b\u7684\u5e94\u7528\u573a\u666f<\/strong><\/h2>\n<p><h2>\u6570\u636e\u5904\u7406<\/h2>\n<\/p>\n<p><p>\u5728\u6570\u636e\u5904\u7406\u4e2d\uff0c\u7ecf\u5e38\u9700\u8981\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u503c\u578b\u3002\u4f8b\u5982\uff0c\u4eceCSV\u6587\u4ef6\u4e2d\u8bfb\u53d6\u6570\u636e\u65f6\uff0c\u901a\u5e38\u4f1a\u8bfb\u53d6\u5230\u5b57\u7b26\u4e32\uff0c\u9700\u8981\u5c06\u5176\u8f6c\u6362\u4e3a\u6570\u503c\u578b\u8fdb\u884c\u540e\u7eed\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h2>\u7528\u6237\u8f93\u5165<\/h2>\n<\/p>\n<p><p>\u5728\u5904\u7406\u7528\u6237\u8f93\u5165\u65f6\uff0c\u901a\u5e38\u4f1a\u5f97\u5230\u5b57\u7b26\u4e32\u5f62\u5f0f\u7684\u8f93\u5165\uff0c\u9700\u8981\u5c06\u5176\u8f6c\u6362\u4e3a\u6570\u503c\u578b\u3002\u4f8b\u5982\uff0c\u7528\u6237\u8f93\u5165\u7684\u5e74\u9f84\u6216\u4ef7\u683c\u7b49\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h2>\u6570\u503c\u8ba1\u7b97<\/h2>\n<\/p>\n<p><p>\u5728\u6570\u503c\u8ba1\u7b97\u4e2d\uff0c\u7ecf\u5e38\u9700\u8981\u5904\u7406\u5b57\u7b26\u4e32\u5f62\u5f0f\u7684\u6570\u636e\uff0c\u5c06\u5176\u8f6c\u6362\u4e3a\u6570\u503c\u578b\u8fdb\u884c\u8ba1\u7b97\u3002\u4f8b\u5982\uff0c\u4ece\u914d\u7f6e\u6587\u4ef6\u6216\u7f51\u7edc\u8bf7\u6c42\u4e2d\u83b7\u53d6\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<hr>\n<h2><strong>\u516d\u3001\u603b\u7ed3<\/strong><\/h2>\n<p><p>\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u503c\u578b\u5728Python\u4e2d\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u4e3b\u8981\u5305\u62ec\u4f7f\u7528 <code>int()<\/code> \u51fd\u6570\u3001<code>float()<\/code> \u51fd\u6570\u548c <code>decimal.Decimal()<\/code> \u7c7b\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u9002\u7528\u573a\u666f\u548c\u4f18\u7f3a\u70b9\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u5e94\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u5e76\u6ce8\u610f\u5904\u7406\u53ef\u80fd\u51fa\u73b0\u7684\u5f02\u5e38\u60c5\u51b5\u3002\u901a\u8fc7\u638c\u63e1\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u66f4\u9ad8\u6548\u5730\u5904\u7406\u6570\u636e\u548c\u8fdb\u884c\u6570\u503c\u8ba1\u7b97\u3002<\/p>\n<\/p>\n<p><p>\u603b\u4e4b\uff0c<strong>int()\u51fd\u6570\u9002\u7528\u4e8e\u6574\u6570\u8f6c\u6362\u3001float()\u51fd\u6570\u9002\u7528\u4e8e\u6d6e\u70b9\u6570\u8f6c\u6362\u3001decimal.Decimal()\u7c7b\u9002\u7528\u4e8e\u9ad8\u7cbe\u5ea6\u6570\u503c\u8fd0\u7b97<\/strong>\u3002\u5728\u5904\u7406\u5b57\u7b26\u4e32\u8f6c\u6362\u6570\u503c\u578b\u65f6\uff0c\u7075\u6d3b\u8fd0\u7528\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5927\u5927\u63d0\u9ad8\u4ee3\u7801\u7684\u5065\u58ee\u6027\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Python\u4e2d\uff0c\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u503c\u578b\u7684\u5e38\u7528\u65b9\u6cd5\u6709\u54ea\u4e9b\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u5b57\u7b26\u4e32\u8f6c\u6570\u503c\u578b\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u5185\u7f6e\u51fd\u6570<code>int()<\/code>\u548c<code>float()<\/code>\u3002<code>int()<\/code>\u51fd\u6570\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6574\u6570\uff0c\u800c<code>float()<\/code>\u51fd\u6570\u5219\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570\u3002\u5982\u679c\u5b57\u7b26\u4e32\u5185\u5bb9\u4e0d\u7b26\u5408\u6570\u503c\u683c\u5f0f\uff0c\u8fd9\u4e9b\u51fd\u6570\u4f1a\u629b\u51fa<code>ValueError<\/code>\u5f02\u5e38\uff0c\u56e0\u6b64\u5728\u8f6c\u6362\u524d\uff0c\u5efa\u8bae\u4f7f\u7528<code>try...except<\/code>\u7ed3\u6784\u6765\u5904\u7406\u53ef\u80fd\u7684\u9519\u8bef\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u5b57\u7b26\u4e32\u4e2d\u5305\u542b\u7a7a\u683c\u6216\u5176\u4ed6\u5b57\u7b26\u7684\u60c5\u51b5\uff1f<\/strong><br \/>\u5728\u8f6c\u6362\u5b57\u7b26\u4e32\u4e4b\u524d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>strip()<\/code>\u65b9\u6cd5\u53bb\u9664\u5b57\u7b26\u4e32\u4e24\u7aef\u7684\u7a7a\u683c\u3002\u5bf9\u4e8e\u5305\u542b\u5176\u4ed6\u5b57\u7b26\u7684\u60c5\u51b5\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6216\u5b57\u7b26\u4e32\u7684<code>replace()<\/code>\u65b9\u6cd5\u8fdb\u884c\u6e05\u7406\u3002\u4f8b\u5982\uff0c\u82e5\u5b57\u7b26\u4e32\u4e2d\u6709\u9017\u53f7\u53ef\u4ee5\u7528<code>replace(&#39;,&#39;, &#39;&#39;)<\/code>\u5c06\u5176\u79fb\u9664\u3002\u8fd9\u6837\u80fd\u591f\u786e\u4fdd\u8f6c\u6362\u8fc7\u7a0b\u987a\u5229\u8fdb\u884c\u3002<\/p>\n<p><strong>\u5728\u8f6c\u6362\u8fc7\u7a0b\u4e2d\u9047\u5230\u5f02\u5e38\u8be5\u5982\u4f55\u5904\u7406\uff1f<\/strong><br \/>\u5982\u679c\u5728\u8f6c\u6362\u8fc7\u7a0b\u4e2d\u51fa\u73b0<code>ValueError<\/code>\uff0c\u53ef\u4ee5\u4f7f\u7528<code>try...except<\/code>\u8bed\u53e5\u6765\u6355\u83b7\u5f02\u5e38\uff0c\u5e76\u63d0\u4f9b\u7528\u6237\u53cb\u597d\u7684\u63d0\u793a\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u63d0\u793a\u7528\u6237\u68c0\u67e5\u8f93\u5165\u7684\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u6709\u6548\u7684\u6570\u503c\u683c\u5f0f\u3002\u8fd9\u79cd\u65b9\u5f0f\u4e0d\u4ec5\u80fd\u63d0\u9ad8\u4ee3\u7801\u7684\u5065\u58ee\u6027\uff0c\u8fd8\u80fd\u6539\u5584\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u5185\u7f6e\u51fd\u6570\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u503c\u578b\u3002\u5e38\u7528\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u4e3b\u8981\u5305\u62ec\u4f7f\u7528int()\u51fd\u6570\u3001fl [&hellip;]","protected":false},"author":3,"featured_media":1139968,"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\/1139964"}],"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=1139964"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1139964\/revisions"}],"predecessor-version":[{"id":1139973,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1139964\/revisions\/1139973"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1139968"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1139964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1139964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1139964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}