{"id":1132039,"date":"2025-01-08T20:53:41","date_gmt":"2025-01-08T12:53:41","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1132039.html"},"modified":"2025-01-08T20:53:44","modified_gmt":"2025-01-08T12:53:44","slug":"python%e5%a6%82%e4%bd%95%e5%b0%86%e4%b8%a4%e8%a1%8c%e5%ad%97%e7%ac%a6%e4%b8%b2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1132039.html","title":{"rendered":"python\u5982\u4f55\u5c06\u4e24\u884c\u5b57\u7b26\u4e32"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25101650\/7da99328-5f7d-4449-bf90-ebba371cd319.webp\" alt=\"python\u5982\u4f55\u5c06\u4e24\u884c\u5b57\u7b26\u4e32\" \/><\/p>\n<p><p> <strong>Python\u5c06\u4e24\u884c\u5b57\u7b26\u4e32\u5408\u5e76\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff1a\u4f7f\u7528\u5b57\u7b26\u4e32\u62fc\u63a5\u3001\u4f7f\u7528\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u8fde\u63a5\u65b9\u6cd5\u7b49\u3002<\/strong> \u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u63a2\u8ba8\u51e0\u79cd\u5e38\u89c1\u7684\u65b9\u6cd5\u6765\u5408\u5e76\u4e24\u884c\u5b57\u7b26\u4e32\uff0c\u5e76\u8be6\u7ec6\u8bf4\u660e\u6bcf\u79cd\u65b9\u6cd5\u7684\u4f18\u7f3a\u70b9\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u52a0\u53f7\uff08+\uff09\u8fdb\u884c\u5b57\u7b26\u4e32\u62fc\u63a5<\/h3>\n<\/p>\n<p><p>\u52a0\u53f7\u662f\u6700\u7b80\u5355\u548c\u6700\u76f4\u89c2\u7684\u5b57\u7b26\u4e32\u62fc\u63a5\u65b9\u6cd5\u3002\u5b83\u53ef\u4ee5\u5c06\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f4\u63a5\u8fde\u63a5\u5728\u4e00\u8d77\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">str1 = &quot;Hello&quot;<\/p>\n<p>str2 = &quot;World&quot;<\/p>\n<p>result = str1 + &quot; &quot; + str2<\/p>\n<p>print(result)  # \u8f93\u51fa\uff1aHello World<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u7b80\u5355\u76f4\u89c2\uff0c\u5bb9\u6613\u7406\u89e3\u548c\u4f7f\u7528\u3002<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u5982\u679c\u5408\u5e76\u591a\u4e2a\u5b57\u7b26\u4e32\uff0c\u4ee3\u7801\u53ef\u8bfb\u6027\u4f1a\u964d\u4f4e\u3002<\/li>\n<\/ul>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u683c\u5f0f\u5316\u5b57\u7b26\u4e32<\/h3>\n<\/p>\n<p><p>Python\u63d0\u4f9b\u4e86\u591a\u79cd\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u7684\u65b9\u6cd5\uff0c\u5305\u62ec\u767e\u5206\u53f7\uff08%\uff09\u3001<code>str.format()<\/code>\u65b9\u6cd5\u548cf-\u5b57\u7b26\u4e32\uff08Python 3.6+\uff09\u3002<\/p>\n<\/p>\n<p><h4>1. \u767e\u5206\u53f7\uff08%\uff09\u683c\u5f0f\u5316<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">str1 = &quot;Hello&quot;<\/p>\n<p>str2 = &quot;World&quot;<\/p>\n<p>result = &quot;%s %s&quot; % (str1, str2)<\/p>\n<p>print(result)  # \u8f93\u51fa\uff1aHello World<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. <code>str.format()<\/code>\u65b9\u6cd5<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">str1 = &quot;Hello&quot;<\/p>\n<p>str2 = &quot;World&quot;<\/p>\n<p>result = &quot;{} {}&quot;.format(str1, str2)<\/p>\n<p>print(result)  # \u8f93\u51fa\uff1aHello World<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. f-\u5b57\u7b26\u4e32\uff08Python 3.6+\uff09<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">str1 = &quot;Hello&quot;<\/p>\n<p>str2 = &quot;World&quot;<\/p>\n<p>result = f&quot;{str1} {str2}&quot;<\/p>\n<p>print(result)  # \u8f93\u51fa\uff1aHello World<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4ee3\u7801\u53ef\u8bfb\u6027\u597d\uff0c\u7279\u522b\u662ff-\u5b57\u7b26\u4e32\uff0c\u53ef\u4ee5\u5904\u7406\u590d\u6742\u7684\u8868\u8fbe\u5f0f\u3002<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u5bf9\u4e8e\u7b80\u5355\u7684\u5b57\u7b26\u4e32\u62fc\u63a5\uff0c\u53ef\u80fd\u663e\u5f97\u6709\u4e9b\u5197\u957f\u3002<\/li>\n<\/ul>\n<p><h3>\u4e09\u3001\u4f7f\u7528<code>join()<\/code>\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p><code>join()<\/code>\u65b9\u6cd5\u662f\u4e00\u4e2a\u9ad8\u6548\u7684\u5b57\u7b26\u4e32\u62fc\u63a5\u65b9\u6cd5\uff0c\u7279\u522b\u9002\u7528\u4e8e\u5408\u5e76\u591a\u4e2a\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">str1 = &quot;Hello&quot;<\/p>\n<p>str2 = &quot;World&quot;<\/p>\n<p>result = &quot; &quot;.join([str1, str2])<\/p>\n<p>print(result)  # \u8f93\u51fa\uff1aHello World<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u9ad8\u6548\uff0c\u7279\u522b\u9002\u7528\u4e8e\u5408\u5e76\u591a\u4e2a\u5b57\u7b26\u4e32\u3002<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u9700\u8981\u5c06\u5f85\u5408\u5e76\u7684\u5b57\u7b26\u4e32\u653e\u5165\u4e00\u4e2a\u53ef\u8fed\u4ee3\u5bf9\u8c61\uff08\u5982\u5217\u8868\u3001\u5143\u7ec4\uff09\u3002<\/li>\n<\/ul>\n<p><h3>\u56db\u3001\u4f7f\u7528<code>+<\/code>\u8fd0\u7b97\u7b26\u548c\u5217\u8868\u5c55\u5f00<\/h3>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7ed3\u5408\u4e86\u52a0\u53f7\u8fd0\u7b97\u7b26\u548c\u5217\u8868\u5c55\u5f00\u7684\u4f18\u70b9\uff0c\u53ef\u4ee5\u7b80\u5316\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">str1 = &quot;Hello&quot;<\/p>\n<p>str2 = &quot;World&quot;<\/p>\n<p>result = &#39;&#39;.join([str1, &quot; &quot;, str2])<\/p>\n<p>print(result)  # \u8f93\u51fa\uff1aHello World<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4ee3\u7801\u7b80\u6d01\uff0c\u6613\u4e8e\u9605\u8bfb\u3002<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u5bf9\u4e8e\u65b0\u624b\u6765\u8bf4\uff0c\u53ef\u80fd\u4e0d\u592a\u76f4\u89c2\u3002<\/li>\n<\/ul>\n<p><h3>\u4e94\u3001\u4f7f\u7528<code>reduce()<\/code>\u51fd\u6570<\/h3>\n<\/p>\n<p><p><code>reduce()<\/code>\u51fd\u6570\u53ef\u4ee5\u7528\u4e8e\u7d2f\u79ef\u64cd\u4f5c\uff0c\u5728\u5b57\u7b26\u4e32\u5408\u5e76\u4e2d\u4e5f\u6709\u4e00\u5b9a\u7684\u5e94\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from functools import reduce<\/p>\n<p>str1 = &quot;Hello&quot;<\/p>\n<p>str2 = &quot;World&quot;<\/p>\n<p>result = reduce(lambda x, y: x + &quot; &quot; + y, [str1, str2])<\/p>\n<p>print(result)  # \u8f93\u51fa\uff1aHello World<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u9002\u7528\u4e8e\u66f4\u590d\u6742\u7684\u5408\u5e76\u89c4\u5219\u3002<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4ee3\u7801\u590d\u6742\u5ea6\u8f83\u9ad8\uff0c\u4e0d\u9002\u5408\u7b80\u5355\u573a\u666f\u3002<\/li>\n<\/ul>\n<p><h3>\u516d\u3001\u5904\u7406\u7279\u6b8a\u60c5\u51b5<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u5b57\u7b26\u4e32\u53ef\u80fd\u5305\u542b\u6362\u884c\u7b26\u6216\u5176\u4ed6\u7279\u6b8a\u5b57\u7b26\uff0c\u9700\u8981\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h4>1. \u79fb\u9664\u6362\u884c\u7b26<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">str1 = &quot;Hello\\n&quot;<\/p>\n<p>str2 = &quot;World\\n&quot;<\/p>\n<p>result = str1.strip() + &quot; &quot; + str2.strip()<\/p>\n<p>print(result)  # \u8f93\u51fa\uff1aHello World<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u5408\u5e76\u591a\u884c\u5b57\u7b26\u4e32<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">str1 = &quot;&quot;&quot;Hello<\/p>\n<p>&quot;&quot;&quot;<\/p>\n<p>str2 = &quot;&quot;&quot;World<\/p>\n<p>&quot;&quot;&quot;<\/p>\n<p>result = &quot;&quot;.join([str1.strip(), &quot; &quot;, str2.strip()])<\/p>\n<p>print(result)  # \u8f93\u51fa\uff1aHello World<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e03\u3001\u6027\u80fd\u6bd4\u8f83<\/h3>\n<\/p>\n<p><p>\u4e0d\u540c\u7684\u5b57\u7b26\u4e32\u5408\u5e76\u65b9\u6cd5\u5728\u6027\u80fd\u4e0a\u4e5f\u6709\u6240\u4e0d\u540c\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>timeit<\/code>\u6a21\u5757\u6765\u6bd4\u8f83\u5b83\u4eec\u7684\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import timeit<\/p>\n<p>str1 = &quot;Hello&quot;<\/p>\n<p>str2 = &quot;World&quot;<\/p>\n<h2><strong>\u4f7f\u7528\u52a0\u53f7\u62fc\u63a5<\/strong><\/h2>\n<p>time_plus = timeit.timeit(lambda: str1 + &quot; &quot; + str2, number=1000000)<\/p>\n<h2><strong>\u4f7f\u7528format\u65b9\u6cd5<\/strong><\/h2>\n<p>time_format = timeit.timeit(lambda: &quot;{} {}&quot;.format(str1, str2), number=1000000)<\/p>\n<h2><strong>\u4f7f\u7528f-\u5b57\u7b26\u4e32<\/strong><\/h2>\n<p>time_fstring = timeit.timeit(lambda: f&quot;{str1} {str2}&quot;, number=1000000)<\/p>\n<h2><strong>\u4f7f\u7528join\u65b9\u6cd5<\/strong><\/h2>\n<p>time_join = timeit.timeit(lambda: &quot; &quot;.join([str1, str2]), number=1000000)<\/p>\n<p>print(f&quot;\u52a0\u53f7\u62fc\u63a5\u65f6\u95f4\uff1a{time_plus}&quot;)<\/p>\n<p>print(f&quot;format\u65b9\u6cd5\u65f6\u95f4\uff1a{time_format}&quot;)<\/p>\n<p>print(f&quot;f-\u5b57\u7b26\u4e32\u65f6\u95f4\uff1a{time_fstring}&quot;)<\/p>\n<p>print(f&quot;join\u65b9\u6cd5\u65f6\u95f4\uff1a{time_join}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u7ed3\u679c\u5206\u6790<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4e00\u822c\u6765\u8bf4\uff0c<code>join()<\/code>\u65b9\u6cd5\u5728\u5408\u5e76\u5927\u91cf\u5b57\u7b26\u4e32\u65f6\u6027\u80fd\u6700\u597d\u3002<\/li>\n<li>f-\u5b57\u7b26\u4e32\u548c\u767e\u5206\u53f7\u683c\u5f0f\u5316\u5728\u5408\u5e76\u5c11\u91cf\u5b57\u7b26\u4e32\u65f6\u6027\u80fd\u8f83\u597d\u3002<\/li>\n<li>\u52a0\u53f7\u62fc\u63a5\u5728\u7b80\u5355\u573a\u666f\u4e2d\u6027\u80fd\u5c1a\u53ef\uff0c\u4f46\u4e0d\u9002\u5408\u5927\u91cf\u5b57\u7b26\u4e32\u5408\u5e76\u3002<\/li>\n<\/ul>\n<p><h3>\u516b\u3001\u6700\u4f73\u5b9e\u8df5<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u6211\u4eec\u5e94\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5b57\u7b26\u4e32\u5408\u5e76\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u7b80\u5355\u573a\u666f<\/strong>\uff1a\u4f7f\u7528\u52a0\u53f7\u62fc\u63a5\uff0c\u4ee3\u7801\u7b80\u5355\uff0c\u6613\u4e8e\u7ef4\u62a4\u3002<\/li>\n<li><strong>\u590d\u6742\u573a\u666f<\/strong>\uff1a\u4f7f\u7528\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\uff0c\u4ee3\u7801\u53ef\u8bfb\u6027\u597d\u3002<\/li>\n<li><strong>\u5927\u91cf\u5b57\u7b26\u4e32\u5408\u5e76<\/strong>\uff1a\u4f7f\u7528<code>join()<\/code>\u65b9\u6cd5\uff0c\u6027\u80fd\u6700\u4f73\u3002<\/li>\n<\/ol>\n<p><h3>\u7ed3\u8bba<\/h3>\n<\/p>\n<p><p>\u5408\u5e76\u5b57\u7b26\u4e32\u662fPython\u7f16\u7a0b\u4e2d\u7684\u57fa\u672c\u64cd\u4f5c\uff0c\u4e0d\u540c\u7684\u65b9\u6cd5\u5404\u6709\u4f18\u7f3a\u70b9\u3002\u7406\u89e3\u548c\u638c\u63e1\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u7f16\u5199\u9ad8\u6548\u3001\u53ef\u8bfb\u6027\u5f3a\u7684\u4ee3\u7801\u3002\u5728\u9009\u62e9\u5177\u4f53\u65b9\u6cd5\u65f6\uff0c\u5e94\u6839\u636e\u5b9e\u9645\u9700\u6c42\u548c\u4ee3\u7801\u89c4\u8303\uff0c\u9009\u62e9\u6700\u5408\u9002\u7684\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5c06\u4e24\u884c\u5b57\u7b26\u4e32\u5408\u5e76\u4e3a\u4e00\u884c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u7684\u8fde\u63a5\u64cd\u4f5c\u7b26\uff08+\uff09\u5c06\u4e24\u884c\u5b57\u7b26\u4e32\u5408\u5e76\u4e3a\u4e00\u884c\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u6709\u4e24\u4e2a\u5b57\u7b26\u4e32<code>s1<\/code>\u548c<code>s2<\/code>\uff0c\u53ef\u4ee5\u4f7f\u7528<code>s1 + s2<\/code>\u6765\u5b9e\u73b0\u5408\u5e76\u3002\u4e5f\u53ef\u4ee5\u4f7f\u7528<code>join<\/code>\u65b9\u6cd5\uff0c\u4f8b\u5982<code>&quot;&quot;.join([s1, s2])<\/code>\uff0c\u8fd9\u6837\u53ef\u4ee5\u66f4\u7075\u6d3b\u5730\u5904\u7406\u591a\u4e2a\u5b57\u7b26\u4e32\u7684\u5408\u5e76\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u5904\u7406\u591a\u884c\u5b57\u7b26\u4e32\uff1f<\/strong><br \/>\u591a\u884c\u5b57\u7b26\u4e32\u53ef\u4ee5\u4f7f\u7528\u4e09\u91cd\u5f15\u53f7\uff08&#39;&#39;&#39;\u6216&quot;&quot;&quot;\uff09\u6765\u521b\u5efa\u3002\u8fd9\u6837\u53ef\u4ee5\u5728\u5b57\u7b26\u4e32\u4e2d\u81ea\u7531\u5730\u5305\u542b\u6362\u884c\u7b26\uff0c\u800c\u4e0d\u9700\u8981\u4f7f\u7528\u6362\u884c\u7b26\u8f6c\u4e49\u3002\u5904\u7406\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u7684<code>replace<\/code>\u65b9\u6cd5\u5c06\u6362\u884c\u7b26\u66ff\u6362\u4e3a\u7a7a\u683c\uff0c\u6216\u8005\u4f7f\u7528<code>splitlines<\/code>\u65b9\u6cd5\u5c06\u5176\u5206\u5272\u6210\u5217\u8868\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u5220\u9664\u5b57\u7b26\u4e32\u4e2d\u7684\u6362\u884c\u7b26\uff1f<\/strong><br \/>\u5982\u679c\u9700\u8981\u53bb\u9664\u5b57\u7b26\u4e32\u4e2d\u7684\u6362\u884c\u7b26\uff0c\u53ef\u4ee5\u4f7f\u7528<code>str.replace(&#39;\\n&#39;, &#39;&#39;)<\/code>\u65b9\u6cd5\u6765\u66ff\u6362\u6362\u884c\u7b26\u4e3a\u7a7a\u5b57\u7b26\u4e32\u3002\u6b64\u5916\uff0c<code>str.strip()<\/code>\u65b9\u6cd5\u4e5f\u53ef\u4ee5\u7528\u4e8e\u53bb\u6389\u5b57\u7b26\u4e32\u4e24\u7aef\u7684\u6362\u884c\u7b26\u6216\u7a7a\u683c\uff0c\u8fd9\u5728\u5904\u7406\u7528\u6237\u8f93\u5165\u65f6\u7279\u522b\u6709\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5c06\u4e24\u884c\u5b57\u7b26\u4e32\u5408\u5e76\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff1a\u4f7f\u7528\u5b57\u7b26\u4e32\u62fc\u63a5\u3001\u4f7f\u7528\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u8fde\u63a5\u65b9\u6cd5\u7b49\u3002 \u5728\u8fd9\u7bc7\u6587\u7ae0 [&hellip;]","protected":false},"author":3,"featured_media":1132051,"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\/1132039"}],"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=1132039"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1132039\/revisions"}],"predecessor-version":[{"id":1132055,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1132039\/revisions\/1132055"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1132051"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1132039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1132039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1132039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}