{"id":1061532,"date":"2024-12-31T15:43:37","date_gmt":"2024-12-31T07:43:37","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1061532.html"},"modified":"2024-12-31T15:43:39","modified_gmt":"2024-12-31T07:43:39","slug":"%e5%9c%a8python%e4%b8%ad%e5%a6%82%e4%bd%95%e8%be%93%e5%85%a5%e4%b8%8b%e5%88%92%e7%ba%bf","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1061532.html","title":{"rendered":"\u5728python\u4e2d\u5982\u4f55\u8f93\u5165\u4e0b\u5212\u7ebf"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/f463dc2f-af4b-4e06-9b65-d81e26ccb77e.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"\u5728python\u4e2d\u5982\u4f55\u8f93\u5165\u4e0b\u5212\u7ebf\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u8f93\u5165\u4e0b\u5212\u7ebf\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u64cd\u4f5c\u3001\u8f6c\u4e49\u5b57\u7b26\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u7b49\u65b9\u6cd5\u3002\u901a\u5e38\u4f7f\u7528\u7684\u65b9\u5f0f\u6709\uff1a\u76f4\u63a5\u8f93\u5165\u4e0b\u5212\u7ebf\u5b57\u7b26\u3001\u4f7f\u7528\u8f6c\u4e49\u5b57\u7b26\u3001\u901a\u8fc7\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u6dfb\u52a0\u4e0b\u5212\u7ebf\u3002<\/strong> \u4f8b\u5982\uff0c\u76f4\u63a5\u5728\u5b57\u7b26\u4e32\u4e2d\u8f93\u5165\u4e0b\u5212\u7ebf\u662f\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u3002\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u76f4\u63a5\u8f93\u5165\u4e0b\u5212\u7ebf<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u5c31\u662f\u76f4\u63a5\u5728\u5b57\u7b26\u4e32\u4e2d\u8f93\u5165\u4e0b\u5212\u7ebf\u3002\u4f60\u53ea\u9700\u8981\u5728\u5b57\u7b26\u4e32\u4e2d\u952e\u5165\u4e0b\u5212\u7ebf\u5b57\u7b26 <code>_<\/code> \u5373\u53ef\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">string_with_underscore = &quot;hello_world&quot;<\/p>\n<p>print(string_with_underscore)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u5728\u5b57\u7b26\u4e32\u4e2d\u624b\u52a8\u8f93\u5165\u4e0b\u5212\u7ebf\u7b26\u53f7\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u8f6c\u4e49\u5b57\u7b26<\/p>\n<\/p>\n<p><p>\u6709\u65f6\u5019\u4f60\u53ef\u80fd\u9700\u8981\u5728\u5b57\u7b26\u4e32\u4e2d\u5305\u542b\u7279\u6b8a\u5b57\u7b26\uff0c\u6bd4\u5982\u6362\u884c\u7b26 <code>\\n<\/code> \u6216\u5236\u8868\u7b26 <code>\\t<\/code>\u3002\u5bf9\u4e8e\u4e0b\u5212\u7ebf\uff0c\u53ef\u4ee5\u76f4\u63a5\u8f93\u5165 <code>_<\/code>\uff0c\u4e0d\u9700\u8981\u7279\u6b8a\u7684\u8f6c\u4e49\u5b57\u7b26\u3002\u7136\u800c\uff0c\u5982\u679c\u4f60\u60f3\u5728\u5b57\u7b26\u4e32\u4e2d\u63d2\u5165\u591a\u4e2a\u4e0b\u5212\u7ebf\u5b57\u7b26\uff0c\u53ef\u4ee5\u4f7f\u7528\u8f6c\u4e49\u5b57\u7b26\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">string_with_underscores = &quot;hello\\_world&quot;<\/p>\n<p>print(string_with_underscores)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6ce8\u610f\uff0c\u867d\u7136\u5728Python\u4e2d\u4e0d\u9700\u8981\u8f6c\u4e49\u4e0b\u5212\u7ebf\u5b57\u7b26\uff0c\u4f46\u4e86\u89e3\u8f6c\u4e49\u5b57\u7b26\u7684\u7528\u6cd5\u5bf9\u5904\u7406\u5176\u4ed6\u7279\u6b8a\u5b57\u7b26\u662f\u6709\u5e2e\u52a9\u7684\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u901a\u8fc7\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u6dfb\u52a0\u4e0b\u5212\u7ebf<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u7684\u65b9\u6cd5\u63d2\u5165\u4e0b\u5212\u7ebf\u3002\u4f8b\u5982\uff0c\u4f7f\u7528 <code>format()<\/code> \u65b9\u6cd5\u6216 f-strings\uff08\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u5b57\u9762\u503c\uff0cPython 3.6\u53ca\u4ee5\u540e\u7248\u672c\u5f15\u5165\uff09\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">name = &quot;world&quot;<\/p>\n<p>formatted_string = &quot;hello_{}&quot;.format(name)<\/p>\n<p>print(formatted_string)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\u4f7f\u7528 f-strings\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">name = &quot;world&quot;<\/p>\n<p>formatted_string = f&quot;hello_{name}&quot;<\/p>\n<p>print(formatted_string)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u5141\u8bb8\u4f60\u5728\u5b57\u7b26\u4e32\u4e2d\u52a8\u6001\u5730\u63d2\u5165\u53d8\u91cf\u503c\uff0c\u5305\u62ec\u4e0b\u5212\u7ebf\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u5176\u4ed6\u5b57\u7b26\u4e32\u64cd\u4f5c<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u76f4\u63a5\u8f93\u5165\u4e0b\u5212\u7ebf\u548c\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5176\u4ed6\u7684\u5b57\u7b26\u4e32\u64cd\u4f5c\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5728\u5b57\u7b26\u4e32\u4e2d\u63d2\u5165\u4e0b\u5212\u7ebf\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u4f7f\u7528\u5b57\u7b26\u4e32\u8fde\u63a5<\/strong><\/li>\n<\/ol>\n<p><p>\u4f60\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u8fde\u63a5\u64cd\u4f5c\u7b26 <code>+<\/code> \u6765\u8fde\u63a5\u5b57\u7b26\u4e32\uff0c\u5e76\u5728\u9700\u8981\u7684\u5730\u65b9\u63d2\u5165\u4e0b\u5212\u7ebf\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">part1 = &quot;hello&quot;<\/p>\n<p>part2 = &quot;world&quot;<\/p>\n<p>string_with_underscore = part1 + &quot;_&quot; + part2<\/p>\n<p>print(string_with_underscore)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u5141\u8bb8\u4f60\u5c06\u591a\u4e2a\u5b57\u7b26\u4e32\u7247\u6bb5\u8fde\u63a5\u5728\u4e00\u8d77\uff0c\u5e76\u5728\u5408\u9002\u7684\u4f4d\u7f6e\u63d2\u5165\u4e0b\u5212\u7ebf\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u4f7f\u7528\u5b57\u7b26\u4e32\u66ff\u6362<\/strong><\/li>\n<\/ol>\n<p><p>\u5982\u679c\u4f60\u6709\u4e00\u4e2a\u5b57\u7b26\u4e32\u6a21\u677f\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>replace()<\/code> \u65b9\u6cd5\u6765\u66ff\u6362\u5360\u4f4d\u7b26\u4e3a\u4e0b\u5212\u7ebf\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">template_string = &quot;hello world&quot;<\/p>\n<p>string_with_underscore = template_string.replace(&quot; &quot;, &quot;_&quot;)<\/p>\n<p>print(string_with_underscore)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u9700\u8981\u5c06\u7279\u5b9a\u5b57\u7b26\u66ff\u6362\u4e3a\u4e0b\u5212\u7ebf\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u5728\u53d8\u91cf\u547d\u540d\u4e2d\u7684\u5e94\u7528<\/p>\n<\/p>\n<p><p>\u5728Python\u7f16\u7a0b\u4e2d\uff0c\u4e0b\u5212\u7ebf\u5e38\u7528\u4e8e\u53d8\u91cf\u547d\u540d\u3002\u53d8\u91cf\u540d\u4e2d\u7684\u4e0b\u5212\u7ebf\u53ef\u4ee5\u5e2e\u52a9\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">first_name = &quot;John&quot;<\/p>\n<p>last_name = &quot;Doe&quot;<\/p>\n<p>full_name = first_name + &quot;_&quot; + last_name<\/p>\n<p>print(full_name)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528\u4e0b\u5212\u7ebf\u5206\u9694\u53d8\u91cf\u540d\u4e2d\u7684\u5355\u8bcd\uff0c\u4f7f\u53d8\u91cf\u540d\u66f4\u5177\u63cf\u8ff0\u6027\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u4e0b\u5212\u7ebf\u5728Python\u4e2d\u7684\u7279\u6b8a\u7528\u6cd5<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u4e0b\u5212\u7ebf\u4e0d\u4ec5\u53ef\u4ee5\u7528\u4e8e\u5b57\u7b26\u4e32\u64cd\u4f5c\u548c\u53d8\u91cf\u547d\u540d\uff0c\u8fd8\u6709\u4e00\u4e9b\u7279\u6b8a\u7528\u6cd5\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u5355\u4e0b\u5212\u7ebf <code>_<\/code><\/strong><\/li>\n<\/ol>\n<p><p>\u5355\u4e0b\u5212\u7ebf\u5e38\u7528\u4e8e\u8868\u793a\u4e34\u65f6\u53d8\u91cf\u6216\u4e0d\u5173\u5fc3\u7684\u53d8\u91cf\u3002\u4f8b\u5982\uff0c\u5728\u5faa\u73af\u4e2d\u53ef\u4ee5\u4f7f\u7528 <code>_<\/code> \u4f5c\u4e3a\u5360\u4f4d\u7b26\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">for _ in range(5):<\/p>\n<p>    print(&quot;This will print 5 times&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u53cc\u4e0b\u5212\u7ebf <code>__<\/code><\/strong><\/li>\n<\/ol>\n<p><p>\u53cc\u4e0b\u5212\u7ebf\u901a\u5e38\u7528\u4e8e\u7c7b\u4e2d\u7684\u79c1\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\uff0c\u8868\u793a\u8be5\u5c5e\u6027\u6216\u65b9\u6cd5\u4e0d\u5e94\u88ab\u5916\u90e8\u8bbf\u95ee\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">class MyClass:<\/p>\n<p>    def __init__(self):<\/p>\n<p>        self.__private_attribute = &quot;This is a private attribute&quot;<\/p>\n<p>    def __private_method(self):<\/p>\n<p>        print(&quot;This is a private method&quot;)<\/p>\n<p>my_object = MyClass()<\/p>\n<h2><strong>\u4ee5\u4e0b\u4ee3\u7801\u4f1a\u5f15\u53d1\u9519\u8bef\uff0c\u56e0\u4e3a __private_attribute \u662f\u79c1\u6709\u7684<\/strong><\/h2>\n<h2><strong>print(my_object.__private_attribute)<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li><strong>\u524d\u540e\u53cc\u4e0b\u5212\u7ebf <code>__name__<\/code><\/strong><\/li>\n<\/ol>\n<p><p>\u524d\u540e\u53cc\u4e0b\u5212\u7ebf\u901a\u5e38\u7528\u4e8e\u7279\u6b8a\u65b9\u6cd5\u6216\u5c5e\u6027\uff0c\u5982 <code>__init__<\/code>\u3001<code>__str__<\/code> \u548c <code>__name__<\/code>\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">class MyClass:<\/p>\n<p>    def __init__(self, name):<\/p>\n<p>        self.name = name<\/p>\n<p>    def __str__(self):<\/p>\n<p>        return f&quot;MyClass with name: {self.name}&quot;<\/p>\n<p>my_object = MyClass(&quot;Example&quot;)<\/p>\n<p>print(my_object)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"4\">\n<li><strong>\u540e\u7f6e\u4e0b\u5212\u7ebf <code>_<\/code><\/strong><\/li>\n<\/ol>\n<p><p>\u6709\u65f6\u5019\u4e3a\u4e86\u907f\u514d\u4e0ePython\u5173\u952e\u5b57\u51b2\u7a81\uff0c\u53ef\u4ee5\u5728\u53d8\u91cf\u540d\u540e\u52a0\u4e00\u4e2a\u4e0b\u5212\u7ebf\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">class_ = &quot;This is a class&quot;<\/p>\n<p>print(class_)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4f7f\u7528\u540e\u7f6e\u4e0b\u5212\u7ebf\uff0c\u53ef\u4ee5\u907f\u514d\u4e0e\u5173\u952e\u5b57\u91cd\u540d\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><p>\u4e03\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\u8f93\u5165\u4e0b\u5212\u7ebf\u662f\u4e00\u4e2a\u5e38\u89c1\u7684\u64cd\u4f5c\uff0c\u53ef\u4ee5\u901a\u8fc7\u76f4\u63a5\u8f93\u5165\u4e0b\u5212\u7ebf\u5b57\u7b26\u3001\u4f7f\u7528\u8f6c\u4e49\u5b57\u7b26\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u3001\u5b57\u7b26\u4e32\u8fde\u63a5\u3001\u5b57\u7b26\u4e32\u66ff\u6362\u7b49\u65b9\u6cd5\u5b9e\u73b0\u3002\u6b64\u5916\uff0c\u4e0b\u5212\u7ebf\u5728\u53d8\u91cf\u547d\u540d\u548cPython\u4e2d\u7684\u7279\u6b8a\u7528\u6cd5\u4e2d\u4e5f\u6709\u5e7f\u6cdb\u5e94\u7528\u3002\u638c\u63e1\u8fd9\u4e9b\u65b9\u6cd5\u548c\u5e94\u7528\u573a\u666f\uff0c\u4e0d\u4ec5\u80fd\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\uff0c\u8fd8\u80fd\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7f16\u5199\u548c\u7406\u89e3Python\u4ee3\u7801\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u5b57\u7b26\u4e32\u4e2d\u6dfb\u52a0\u4e0b\u5212\u7ebf\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u60a8\u53ef\u4ee5\u76f4\u63a5\u5728\u5b57\u7b26\u4e32\u4e2d\u4f7f\u7528\u4e0b\u5212\u7ebf\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5b57\u7b26\u4e32\u53d8\u91cf\u5e76\u5728\u5176\u4e2d\u63d2\u5165\u4e0b\u5212\u7ebf\uff0c\u5982<code>my_string = &quot;hello_world&quot;<\/code>\u3002\u6b64\u5916\uff0c\u60a8\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u7684<code>replace<\/code>\u65b9\u6cd5\u6765\u66ff\u6362\u7a7a\u683c\u4e3a\u4e0b\u5212\u7ebf\uff0c\u4f8b\u5982<code>my_string.replace(&quot; &quot;, &quot;_&quot;)<\/code>\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u53ef\u4ee5\u4f7f\u7528\u4e0b\u5212\u7ebf\u547d\u540d\u53d8\u91cf\u5417\uff1f<\/strong><br \/>\u53ef\u4ee5\uff0c\u5728Python\u4e2d\u4f7f\u7528\u4e0b\u5212\u7ebf\u547d\u540d\u53d8\u91cf\u662f\u5b8c\u5168\u5408\u6cd5\u7684\u3002\u4e0b\u5212\u7ebf\u901a\u5e38\u7528\u6765\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\uff0c\u6bd4\u5982\u4f7f\u7528\u4e0b\u5212\u7ebf\u5206\u9694\u5355\u8bcd\uff0c\u4f8b\u5982<code>my_variable<\/code>\u3002\u6b64\u5916\uff0c\u5355\u4e2a\u524d\u5bfc\u4e0b\u5212\u7ebf\uff08_my_variable\uff09\u8868\u793a\u8be5\u53d8\u91cf\u662f\u201c\u79c1\u6709\u7684\u201d\uff0c\u800c\u53cc\u4e0b\u5212\u7ebf\uff08__my_variable\uff09\u7528\u4e8e\u540d\u79f0\u4fee\u9970\uff0c\u4ee5\u907f\u514d\u5728\u7c7b\u7684\u5b50\u7c7b\u4e2d\u53d1\u751f\u540d\u79f0\u51b2\u7a81\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u8bfb\u53d6\u5305\u542b\u4e0b\u5212\u7ebf\u7684\u7528\u6237\u8f93\u5165\uff1f<\/strong><br \/>\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\u53ef\u4ee5\u8f7b\u677e\u8bfb\u53d6\u7528\u6237\u8f93\u5165\u3002\u5982\u679c\u7528\u6237\u8f93\u5165\u7684\u5185\u5bb9\u4e2d\u5305\u542b\u4e0b\u5212\u7ebf\uff0c\u60a8\u53ef\u4ee5\u76f4\u63a5\u5c06\u5176\u5b58\u50a8\u5728\u4e00\u4e2a\u53d8\u91cf\u4e2d\u3002\u4f8b\u5982\uff0c<code>user_input = input(&quot;\u8bf7\u8f93\u5165\u5305\u542b\u4e0b\u5212\u7ebf\u7684\u5185\u5bb9\uff1a&quot;)<\/code>\u3002\u5728\u540e\u7eed\u7684\u64cd\u4f5c\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u8be5\u53d8\u91cf\u6765\u5904\u7406\u5305\u542b\u4e0b\u5212\u7ebf\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u8f93\u5165\u4e0b\u5212\u7ebf\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u64cd\u4f5c\u3001\u8f6c\u4e49\u5b57\u7b26\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u7b49\u65b9\u6cd5\u3002\u901a\u5e38\u4f7f\u7528\u7684\u65b9\u5f0f\u6709\uff1a\u76f4\u63a5\u8f93\u5165\u4e0b\u5212\u7ebf\u5b57 [&hellip;]","protected":false},"author":3,"featured_media":1061549,"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\/1061532"}],"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=1061532"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1061532\/revisions"}],"predecessor-version":[{"id":1061552,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1061532\/revisions\/1061552"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1061549"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1061532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1061532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1061532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}