{"id":1084947,"date":"2025-01-08T13:11:45","date_gmt":"2025-01-08T05:11:45","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1084947.html"},"modified":"2025-01-08T13:11:47","modified_gmt":"2025-01-08T05:11:47","slug":"python%e5%a6%82%e4%bd%95%e7%9c%8b%e5%9c%a8%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%9a%84%e7%bb%93%e6%9e%9c-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1084947.html","title":{"rendered":"python\u5982\u4f55\u770b\u5728\u547d\u4ee4\u884c\u7684\u7ed3\u679c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24195054\/3507c474-71b6-4775-94a8-7759611f8d3f.webp\" alt=\"python\u5982\u4f55\u770b\u5728\u547d\u4ee4\u884c\u7684\u7ed3\u679c\" \/><\/p>\n<p><p> <strong>Python\u5728\u547d\u4ee4\u884c\u67e5\u770b\u7ed3\u679c\u7684\u51e0\u79cd\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528print\u51fd\u6570\u3001\u4f7f\u7528sys.stdout\u3001\u4f7f\u7528logging\u6a21\u5757<\/strong>\u3002\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5728\u547d\u4ee4\u884c\u73af\u5883\u4e2d\u8c03\u8bd5\u548c\u68c0\u67e5\u4ee3\u7801\u8f93\u51fa\uff0c\u786e\u4fdd\u7a0b\u5e8f\u6309\u9884\u671f\u8fd0\u884c\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5176\u4e2d\u7684\u4e00\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528print\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528print\u51fd\u6570\u662f\u6700\u5e38\u89c1\u4e5f\u662f\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u3002\u901a\u8fc7\u5728Python\u811a\u672c\u4e2d\u63d2\u5165print\u8bed\u53e5\uff0c\u53ef\u4ee5\u5c06\u53d8\u91cf\u7684\u503c\u3001\u8ba1\u7b97\u7ed3\u679c\u548c\u63d0\u793a\u4fe1\u606f\u7b49\u8f93\u51fa\u5230\u547d\u4ee4\u884c\u3002\u8fd9\u79cd\u65b9\u6cd5\u76f4\u89c2\u6613\u61c2\uff0c\u9002\u7528\u4e8e\u5927\u591a\u6570\u8c03\u8bd5\u548c\u8f93\u51fa\u573a\u666f\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528print\u51fd\u6570<\/p>\n<\/p>\n<p><p>print\u51fd\u6570\u662fPython\u4e2d\u6700\u57fa\u672c\u7684\u8f93\u51fa\u51fd\u6570\uff0c\u5b83\u53ef\u4ee5\u5c06\u6307\u5b9a\u5185\u5bb9\u8f93\u51fa\u5230\u547d\u4ee4\u884c\u7a97\u53e3\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5177\u4f53\u4f7f\u7528\u65b9\u6cd5\uff1a<\/p>\n<\/p>\n<p><h3>1\u3001\u57fa\u672c\u8f93\u51fa<\/h3>\n<\/p>\n<p><p>\u6700\u7b80\u5355\u7684\u7528\u6cd5\u662f\u76f4\u63a5\u8f93\u51fa\u5b57\u7b26\u4e32\u6216\u53d8\u91cf\u7684\u503c\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(&quot;Hello, World!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u884c\u4ee3\u7801\u4f1a\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u51fa\u201cHello, World!\u201d\u3002<\/p>\n<\/p>\n<p><h3>2\u3001\u8f93\u51fa\u53d8\u91cf\u7684\u503c<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u5728print\u51fd\u6570\u4e2d\u4f20\u9012\u53d8\u91cf\uff0c\u5c06\u5176\u503c\u8f93\u51fa\u5230\u547d\u4ee4\u884c\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10<\/p>\n<p>print(x)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u884c\u4ee3\u7801\u4f1a\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u51fa\u53d8\u91cfx\u7684\u503c\uff0c\u537310\u3002<\/p>\n<\/p>\n<p><h3>3\u3001\u540c\u65f6\u8f93\u51fa\u591a\u4e2a\u53d8\u91cf<\/h3>\n<\/p>\n<p><p>print\u51fd\u6570\u53ef\u4ee5\u540c\u65f6\u8f93\u51fa\u591a\u4e2a\u53d8\u91cf\u6216\u5b57\u7b26\u4e32\uff0c\u53ea\u9700\u7528\u9017\u53f7\u5206\u9694\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10<\/p>\n<p>y = 20<\/p>\n<p>print(&quot;x =&quot;, x, &quot;y =&quot;, y)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u884c\u4ee3\u7801\u4f1a\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u51fa\u201cx = 10 y = 20\u201d\u3002<\/p>\n<\/p>\n<p><h3>4\u3001\u683c\u5f0f\u5316\u8f93\u51fa<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u7684\u65b9\u6cd5\uff0c\u4f7f\u8f93\u51fa\u5185\u5bb9\u66f4\u52a0\u7f8e\u89c2\u3002\u4f8b\u5982\u4f7f\u7528f\u5b57\u7b26\u4e32\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">name = &quot;Alice&quot;<\/p>\n<p>age = 30<\/p>\n<p>print(f&quot;{name} is {age} years old.&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u884c\u4ee3\u7801\u4f1a\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u51fa\u201cAlice is 30 years old.\u201d\u3002<\/p>\n<\/p>\n<p><h3>5\u3001\u6362\u884c\u8f93\u51fa<\/h3>\n<\/p>\n<p><p>print\u51fd\u6570\u9ed8\u8ba4\u5728\u8f93\u51fa\u5185\u5bb9\u540e\u6dfb\u52a0\u6362\u884c\u7b26\uff0c\u53ef\u4ee5\u4f7f\u7528end\u53c2\u6570\u6539\u53d8\u8fd9\u4e00\u884c\u4e3a\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(&quot;Hello&quot;, end=&quot;&quot;)<\/p>\n<p>print(&quot;World&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e24\u884c\u4ee3\u7801\u4f1a\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u51fa\u201cHelloWorld\u201d\uff0c\u800c\u4e0d\u662f\u9ed8\u8ba4\u7684\u4e24\u884c\u8f93\u51fa\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528sys.stdout<\/p>\n<\/p>\n<p><p>sys.stdout\u662f\u4e00\u4e2a\u6587\u4ef6\u5bf9\u8c61\uff0c\u6307\u5411\u6807\u51c6\u8f93\u51fa\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b83\u8fdb\u884c\u66f4\u7075\u6d3b\u7684\u8f93\u51fa\u64cd\u4f5c\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>sys.stdout.write(&quot;Hello, World!\\n&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u884c\u4ee3\u7801\u4e0eprint(&quot;Hello, World!&quot;)\u6548\u679c\u76f8\u540c\uff0c\u4f46sys.stdout.write\u9700\u8981\u624b\u52a8\u6dfb\u52a0\u6362\u884c\u7b26\u3002<\/p>\n<\/p>\n<p><h3>1\u3001\u91cd\u5b9a\u5411\u8f93\u51fa<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u5c06sys.stdout\u91cd\u5b9a\u5411\u5230\u4e00\u4e2a\u6587\u4ef6\u6216\u5176\u4ed6\u8f93\u51fa\u6d41\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>with open(&#39;output.txt&#39;, &#39;w&#39;) as f:<\/p>\n<p>    sys.stdout = f<\/p>\n<p>    print(&quot;Hello, World!&quot;)<\/p>\n<p>sys.stdout = sys.__stdout__  # \u6062\u590d\u6807\u51c6\u8f93\u51fa<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u4f1a\u5c06\u201cHello, World!\u201d\u8f93\u51fa\u5230output.txt\u6587\u4ef6\u4e2d\uff0c\u800c\u4e0d\u662f\u547d\u4ee4\u884c\u3002<\/p>\n<\/p>\n<p><h3>2\u3001\u6355\u83b7\u8f93\u51fa<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u6355\u83b7sys.stdout\u7684\u8f93\u51fa\u5185\u5bb9\uff0c\u7528\u4e8e\u65e5\u5fd7\u8bb0\u5f55\u6216\u8c03\u8bd5\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>from io import StringIO<\/p>\n<p>old_stdout = sys.stdout<\/p>\n<p>sys.stdout = mystdout = StringIO()<\/p>\n<p>print(&quot;Hello, World!&quot;)<\/p>\n<p>sys.stdout = old_stdout<\/p>\n<p>output = mystdout.getvalue()<\/p>\n<p>print(output)  # \u8f93\u51fa\u6355\u83b7\u7684\u5185\u5bb9<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u4f1a\u6355\u83b7\u201cHello, World!\u201d\u7684\u8f93\u51fa\uff0c\u5e76\u5c06\u5176\u5b58\u50a8\u5728output\u53d8\u91cf\u4e2d\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528logging\u6a21\u5757<\/p>\n<\/p>\n<p><p>logging\u6a21\u5757\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u65e5\u5fd7\u8bb0\u5f55\u529f\u80fd\uff0c\u9002\u7528\u4e8e\u590d\u6742\u7684\u8f93\u51fa\u548c\u8c03\u8bd5\u9700\u6c42\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import logging<\/p>\n<p>logging.basicConfig(level=logging.DEBUG)<\/p>\n<p>logging.debug(&quot;This is a debug message&quot;)<\/p>\n<p>logging.info(&quot;This is an info message&quot;)<\/p>\n<p>logging.warning(&quot;This is a warning message&quot;)<\/p>\n<p>logging.error(&quot;This is an error message&quot;)<\/p>\n<p>logging.critical(&quot;This is a critical message&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u4f1a\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u51fa\u4e0d\u540c\u7ea7\u522b\u7684\u65e5\u5fd7\u6d88\u606f\u3002<\/p>\n<\/p>\n<p><h3>1\u3001\u914d\u7f6e\u65e5\u5fd7\u683c\u5f0f<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7basicConfig\u51fd\u6570\u914d\u7f6e\u65e5\u5fd7\u7684\u8f93\u51fa\u683c\u5f0f\u548c\u6587\u4ef6\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">logging.basicConfig(filename=&#39;app.log&#39;, level=logging.DEBUG,<\/p>\n<p>                    format=&#39;%(asctime)s - %(name)s - %(levelname)s - %(message)s&#39;)<\/p>\n<p>logging.debug(&quot;This is a debug message&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u4f1a\u5c06\u65e5\u5fd7\u6d88\u606f\u8f93\u51fa\u5230app.log\u6587\u4ef6\u4e2d\uff0c\u5e76\u4f7f\u7528\u6307\u5b9a\u683c\u5f0f\u3002<\/p>\n<\/p>\n<p><h3>2\u3001\u521b\u5efa\u81ea\u5b9a\u4e49\u65e5\u5fd7\u5668<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u521b\u5efa\u81ea\u5b9a\u4e49\u65e5\u5fd7\u5668\uff0c\u4fbf\u4e8e\u5728\u4e0d\u540c\u6a21\u5757\u4e2d\u4f7f\u7528\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">logger = logging.getLogger(&#39;my_logger&#39;)<\/p>\n<p>logger.setLevel(logging.DEBUG)<\/p>\n<p>ch = logging.StreamHandler()<\/p>\n<p>ch.setLevel(logging.DEBUG)<\/p>\n<p>formatter = logging.Formatter(&#39;%(asctime)s - %(name)s - %(levelname)s - %(message)s&#39;)<\/p>\n<p>ch.setFormatter(formatter)<\/p>\n<p>logger.addHandler(ch)<\/p>\n<p>logger.debug(&quot;This is a debug message&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3amy_logger\u7684\u65e5\u5fd7\u5668\uff0c\u5e76\u914d\u7f6e\u4e86\u65e5\u5fd7\u8f93\u51fa\u683c\u5f0f\u548c\u7ea7\u522b\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\u67e5\u770b\u547d\u4ee4\u884c\u7ed3\u679c\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u6700\u5e38\u89c1\u7684\u662f\u4f7f\u7528print\u51fd\u6570\uff0c\u5176\u6b21\u662fsys.stdout\u548clogging\u6a21\u5757\u3002\u901a\u8fc7\u5408\u7406\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u8c03\u8bd5\u548c\u68c0\u67e5\u4ee3\u7801\u8f93\u51fa\uff0c\u786e\u4fdd\u7a0b\u5e8f\u6309\u9884\u671f\u8fd0\u884c\u3002\u65e0\u8bba\u662f\u7b80\u5355\u7684\u811a\u672c\u8fd8\u662f\u590d\u6742\u7684\u9879\u76ee\uff0c\u90fd\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u8f93\u51fa\u65b9\u5f0f\uff0c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u548c\u4ee3\u7801\u8d28\u91cf\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728\u547d\u4ee4\u884c\u4e2d\u8fd0\u884cPython\u811a\u672c\u5e76\u67e5\u770b\u7ed3\u679c\uff1f<\/strong><br \/>\u8981\u5728\u547d\u4ee4\u884c\u4e2d\u8fd0\u884cPython\u811a\u672c\uff0c\u9996\u5148\u9700\u8981\u6253\u5f00\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u3002\u7136\u540e\uff0c\u901a\u8fc7<code>cd<\/code>\u547d\u4ee4\u5bfc\u822a\u5230\u5305\u542bPython\u811a\u672c\u7684\u76ee\u5f55\u3002\u63a5\u7740\uff0c\u8f93\u5165<code>python script_name.py<\/code>\uff08\u5c06<code>script_name.py<\/code>\u66ff\u6362\u4e3a\u4f60\u7684\u811a\u672c\u6587\u4ef6\u540d\uff09\uff0c\u6309\u4e0b\u56de\u8f66\u952e\uff0c\u5373\u53ef\u6267\u884c\u811a\u672c\u5e76\u67e5\u770b\u8f93\u51fa\u7ed3\u679c\u3002<\/p>\n<p><strong>\u6211\u53ef\u4ee5\u4f7f\u7528\u54ea\u4e9b\u547d\u4ee4\u884c\u5de5\u5177\u6765\u8c03\u8bd5Python\u4ee3\u7801\uff1f<\/strong><br \/>\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pdb<\/code>\uff08Python Debugger\uff09\u6765\u8c03\u8bd5\u4ee3\u7801\u3002\u901a\u8fc7\u5728\u4ee3\u7801\u4e2d\u63d2\u5165<code>import pdb; pdb.set_trace()<\/code>\uff0c\u53ef\u4ee5\u5728\u7279\u5b9a\u4f4d\u7f6e\u6682\u505c\u7a0b\u5e8f\u7684\u6267\u884c\uff0c\u5141\u8bb8\u4f60\u68c0\u67e5\u53d8\u91cf\u503c\u5e76\u9010\u6b65\u6267\u884c\u4ee3\u7801\u3002\u6b64\u5916\uff0c\u8fd8\u6709<code>ipython<\/code>\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u66f4\u5f3a\u5927\u7684\u4ea4\u4e92\u5f0f\u73af\u5883\uff0c\u652f\u6301\u81ea\u52a8\u8865\u5168\u548c\u66f4\u4e30\u5bcc\u7684\u8c03\u8bd5\u529f\u80fd\u3002<\/p>\n<p><strong>\u5982\u4f55\u5c06Python\u547d\u4ee4\u884c\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u6587\u4ef6\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u8f93\u51fa\u91cd\u5b9a\u5411\u7b26\u53f7<code>&gt;<\/code>\u5c06Python\u547d\u4ee4\u884c\u7684\u8f93\u51fa\u4fdd\u5b58\u5230\u6587\u4ef6\u4e2d\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>python script_name.py &gt; output.txt<\/code>\u5c06\u811a\u672c\u7684\u8f93\u51fa\u5199\u5165\u540d\u4e3a<code>output.txt<\/code>\u7684\u6587\u4ef6\u3002\u5982\u679c\u5e0c\u671b\u540c\u65f6\u67e5\u770b\u8f93\u51fa\u5e76\u5c06\u5176\u4fdd\u5b58\uff0c\u53ef\u4ee5\u4f7f\u7528<code>tee<\/code>\u547d\u4ee4\uff0c\u5982<code>python script_name.py | tee output.txt<\/code>\u3002\u8fd9\u6837\u4f60\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u770b\u5230\u8f93\u51fa\u7684\u540c\u65f6\uff0c\u4e5f\u5c06\u5176\u4fdd\u5b58\u5230\u6587\u4ef6\u4e2d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5728\u547d\u4ee4\u884c\u67e5\u770b\u7ed3\u679c\u7684\u51e0\u79cd\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528print\u51fd\u6570\u3001\u4f7f\u7528sys.stdout\u3001\u4f7f\u7528logging\u6a21 [&hellip;]","protected":false},"author":3,"featured_media":1084955,"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\/1084947"}],"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=1084947"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1084947\/revisions"}],"predecessor-version":[{"id":1084958,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1084947\/revisions\/1084958"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1084955"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1084947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1084947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1084947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}