{"id":1037010,"date":"2024-12-31T12:11:38","date_gmt":"2024-12-31T04:11:38","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1037010.html"},"modified":"2024-12-31T12:11:41","modified_gmt":"2024-12-31T04:11:41","slug":"python%e5%a6%82%e4%bd%95%e9%9a%90%e5%8e%bb%e4%b8%80%e8%a1%8c%e7%a8%8b%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1037010.html","title":{"rendered":"python\u5982\u4f55\u9690\u53bb\u4e00\u884c\u7a0b\u5e8f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/4d606957-98e8-48b9-a76c-208bb26ffe41.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"python\u5982\u4f55\u9690\u53bb\u4e00\u884c\u7a0b\u5e8f\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u9690\u53bb\u4e00\u884c\u7a0b\u5e8f\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u6ce8\u91ca\u3001\u4f7f\u7528if\u8bed\u53e5\u3001\u4f7f\u7528try-except\u5757\u3001\u4f7f\u7528\u51fd\u6570\u5c01\u88c5\u7b49\u3002<\/strong>\u5176\u4e2d\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u6ce8\u91ca\uff0c\u5c06\u4e0d\u60f3\u6267\u884c\u7684\u4ee3\u7801\u884c\u524d\u9762\u52a0\u4e0a\u4e00\u4e2a\u4e95\u53f7\uff08#\uff09\u3002\u8fd9\u4e00\u65b9\u6cd5\u7b80\u5355\u76f4\u63a5\uff0c\u9002\u7528\u4e8e\u5927\u90e8\u5206\u573a\u666f\u3002\u4e0b\u9762\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u51e0\u79cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u6ce8\u91ca<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528\u6ce8\u91ca\u662f\u6700\u5e38\u89c1\u7684\u65b9\u5f0f\uff0c\u901a\u8fc7\u5728\u4ee3\u7801\u884c\u524d\u9762\u6dfb\u52a0\u4e00\u4e2a\u4e95\u53f7\uff08#\uff09\uff0cPython\u89e3\u91ca\u5668\u4f1a\u5ffd\u7565\u8fd9\u884c\u4ee3\u7801\uff0c\u4ece\u800c\u8fbe\u5230\u9690\u85cf\u7684\u6548\u679c\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># print(&quot;This line is hidden&quot;)<\/p>\n<p>print(&quot;This line will be executed&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u7b2c\u4e00\u884c\u4ee3\u7801\u4e0d\u4f1a\u88ab\u6267\u884c\uff0c\u800c\u7b2c\u4e8c\u884c\u4ee3\u7801\u4f1a\u88ab\u6267\u884c\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528if\u8bed\u53e5<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4f7f\u7528\u6761\u4ef6\u8bed\u53e5\uff0c\u53ef\u4ee5\u6709\u9009\u62e9\u5730\u6267\u884c\u4ee3\u7801\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u6c38\u8fdc\u4e3a\u5047\u7684\u6761\u4ef6\u6765\u9690\u85cf\u67d0\u884c\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">if False:<\/p>\n<p>    print(&quot;This line is hidden&quot;)<\/p>\n<p>print(&quot;This line will be executed&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u867d\u7136\u4e0d\u5982\u6ce8\u91ca\u76f4\u63a5\uff0c\u4f46\u5728\u67d0\u4e9b\u590d\u6742\u6761\u4ef6\u4e0b\u53ef\u80fd\u66f4\u4e3a\u7075\u6d3b\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528try-except\u5757<\/h3>\n<\/p>\n<p><p>try-except\u5757\u901a\u5e38\u7528\u4e8e\u5f02\u5e38\u5904\u7406\uff0c\u4f46\u4e5f\u53ef\u4ee5\u7528\u6765\u9690\u85cf\u67d0\u884c\u4ee3\u7801\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">try:<\/p>\n<p>    r<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>se Exception<\/p>\n<p>    print(&quot;This line is hidden&quot;)<\/p>\n<p>except Exception:<\/p>\n<p>    pass<\/p>\n<p>print(&quot;This line will be executed&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c<code>raise Exception<\/code>\u4f1a\u629b\u51fa\u4e00\u4e2a\u5f02\u5e38\uff0c\u4ece\u800c\u8df3\u8fc7\u540e\u9762\u7684\u4ee3\u7801\uff0c\u76f4\u63a5\u8fdb\u5165<code>except<\/code>\u5757\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528\u51fd\u6570\u5c01\u88c5<\/h3>\n<\/p>\n<p><p>\u5c06\u4e0d\u60f3\u6267\u884c\u7684\u4ee3\u7801\u5c01\u88c5\u5728\u4e00\u4e2a\u51fd\u6570\u4e2d\uff0c\u7136\u540e\u4e0d\u8c03\u7528\u8fd9\u4e2a\u51fd\u6570\u3002\u8fd9\u6837\u53ef\u4ee5\u8fbe\u5230\u9690\u85cf\u4ee3\u7801\u7684\u6548\u679c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def hidden_code():<\/p>\n<p>    print(&quot;This line is hidden&quot;)<\/p>\n<p>print(&quot;This line will be executed&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c<code>hidden_code<\/code>\u51fd\u6570\u4e2d\u7684\u4ee3\u7801\u4e0d\u4f1a\u88ab\u6267\u884c\uff0c\u9664\u975e\u663e\u5f0f\u8c03\u7528<code>hidden_code<\/code>\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u4f7f\u7528\u591a\u884c\u6ce8\u91ca<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u9690\u85cf\u591a\u884c\u4ee3\u7801\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u884c\u6ce8\u91ca\uff08\u6587\u6863\u5b57\u7b26\u4e32\uff09\u3002\u867d\u7136\u591a\u884c\u6ce8\u91ca\u5728Python\u4e2d\u5b9e\u9645\u662f\u5b57\u7b26\u4e32\uff0c\u4f46\u5982\u679c\u4e0d\u8d4b\u503c\u7ed9\u4efb\u4f55\u53d8\u91cf\uff0cPython\u89e3\u91ca\u5668\u4f1a\u5ffd\u7565\u5b83\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">&quot;&quot;&quot;<\/p>\n<p>print(&quot;This line is hidden&quot;)<\/p>\n<p>print(&quot;This line is also hidden&quot;)<\/p>\n<p>&quot;&quot;&quot;<\/p>\n<p>print(&quot;This line will be executed&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u591a\u884c\u6ce8\u91ca\u4e2d\u7684\u4ee3\u7801\u4e0d\u4f1a\u88ab\u6267\u884c\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u4f7f\u7528\u88c5\u9970\u5668<\/h3>\n<\/p>\n<p><p>\u88c5\u9970\u5668\u662f\u4e00\u79cd\u9ad8\u7ea7\u529f\u80fd\uff0c\u53ef\u4ee5\u7528\u6765\u4fee\u9970\u51fd\u6570\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u4f7f\u7528\u88c5\u9970\u5668\u6765\u63a7\u5236\u4ee3\u7801\u7684\u6267\u884c\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def hidden_decorator(func):<\/p>\n<p>    def wrapper():<\/p>\n<p>        pass<\/p>\n<p>    return wrapper<\/p>\n<p>@hidden_decorator<\/p>\n<p>def hidden_code():<\/p>\n<p>    print(&quot;This line is hidden&quot;)<\/p>\n<p>hidden_code()<\/p>\n<p>print(&quot;This line will be executed&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c<code>hidden_code<\/code>\u51fd\u6570\u88ab\u4fee\u9970\u540e\uff0c\u4e0d\u4f1a\u6267\u884c\u5176\u5185\u90e8\u7684\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u4f7f\u7528\u4e0a\u4e0b\u6587\u7ba1\u7406\u5668<\/h3>\n<\/p>\n<p><p>\u4e0a\u4e0b\u6587\u7ba1\u7406\u5668\u4e5f\u53ef\u4ee5\u7528\u6765\u9690\u85cf\u67d0\u884c\u4ee3\u7801\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">class HiddenContextManager:<\/p>\n<p>    def __enter__(self):<\/p>\n<p>        pass<\/p>\n<p>    def __exit__(self, exc_type, exc_val, exc_tb):<\/p>\n<p>        return True<\/p>\n<p>with HiddenContextManager():<\/p>\n<p>    print(&quot;This line is hidden&quot;)<\/p>\n<p>print(&quot;This line will be executed&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c<code>HiddenContextManager<\/code>\u7684<code>__exit__<\/code>\u65b9\u6cd5\u8fd4\u56de<code>True<\/code>\uff0c\u4ece\u800c\u9690\u85cf\u4e86<code>with<\/code>\u5757\u4e2d\u7684\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u516b\u3001\u4f7f\u7528\u6761\u4ef6\u7f16\u8bd1<\/h3>\n<\/p>\n<p><p>\u867d\u7136Python\u4e0d\u76f4\u63a5\u652f\u6301\u6761\u4ef6\u7f16\u8bd1\uff0c\u4f46\u53ef\u4ee5\u901a\u8fc7\u4e00\u4e9b\u6280\u5de7\u5b9e\u73b0\u7c7b\u4f3c\u7684\u529f\u80fd\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u73af\u5883\u53d8\u91cf\u63a7\u5236\u4ee3\u7801\u7684\u6267\u884c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import os<\/p>\n<p>if os.getenv(&#39;RUN_HIDDEN_CODE&#39;) == &#39;1&#39;:<\/p>\n<p>    print(&quot;This line is hidden&quot;)<\/p>\n<p>print(&quot;This line will be executed&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u53ea\u6709\u5728\u73af\u5883\u53d8\u91cf<code>RUN_HIDDEN_CODE<\/code>\u8bbe\u7f6e\u4e3a<code>1<\/code>\u65f6\uff0c\u9690\u85cf\u7684\u4ee3\u7801\u624d\u4f1a\u88ab\u6267\u884c\u3002<\/p>\n<\/p>\n<p><h3>\u4e5d\u3001\u4f7f\u7528\u52a8\u6001\u4ee3\u7801\u6267\u884c<\/h3>\n<\/p>\n<p><p>\u52a8\u6001\u4ee3\u7801\u6267\u884c\u53ef\u4ee5\u901a\u8fc7<code>exec<\/code>\u51fd\u6570\u6765\u5b9e\u73b0\uff0c\u867d\u7136\u4e0d\u63a8\u8350\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\uff0c\u4f46\u5728\u67d0\u4e9b\u8c03\u8bd5\u573a\u666f\u4e0b\u53ef\u80fd\u6709\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">hidden_code = &quot;&quot;&quot;<\/p>\n<p>print(&quot;This line is hidden&quot;)<\/p>\n<p>&quot;&quot;&quot;<\/p>\n<h2><strong>exec(hidden_code)<\/strong><\/h2>\n<p>print(&quot;This line will be executed&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u901a\u8fc7\u6ce8\u91ca\u6389<code>exec(hidden_code)<\/code>\uff0c\u9690\u85cf\u7684\u4ee3\u7801\u4e0d\u4f1a\u88ab\u6267\u884c\u3002<\/p>\n<\/p>\n<p><h3>\u5341\u3001\u4f7f\u7528\u865a\u62df\u73af\u5883<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u865a\u62df\u73af\u5883\uff0c\u4e13\u95e8\u7528\u4e8e\u8c03\u8bd5\u548c\u9690\u85cf\u4ee3\u7801\u3002\u901a\u8fc7\u63a7\u5236\u865a\u62df\u73af\u5883\u4e2d\u7684\u4f9d\u8d56\u548c\u914d\u7f6e\uff0c\u53ef\u4ee5\u6709\u9009\u62e9\u5730\u6267\u884c\u67d0\u4e9b\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u9690\u85cf\u4e00\u884c\u4ee3\u7801\uff0c\u5305\u62ec\u4f7f\u7528\u6ce8\u91ca\u3001if\u8bed\u53e5\u3001try-except\u5757\u3001\u51fd\u6570\u5c01\u88c5\u3001\u591a\u884c\u6ce8\u91ca\u3001\u88c5\u9970\u5668\u3001\u4e0a\u4e0b\u6587\u7ba1\u7406\u5668\u3001\u6761\u4ef6\u7f16\u8bd1\u3001\u52a8\u6001\u4ee3\u7801\u6267\u884c\u548c\u865a\u62df\u73af\u5883\u3002<strong>\u4f7f\u7528\u6ce8\u91ca\u662f\u6700\u5e38\u89c1\u548c\u76f4\u63a5\u7684\u65b9\u6cd5<\/strong>\uff0c\u4f46\u5728\u67d0\u4e9b\u590d\u6742\u573a\u666f\u4e0b\uff0c\u5176\u4ed6\u65b9\u6cd5\u53ef\u80fd\u4f1a\u66f4\u4e3a\u5408\u9002\u3002\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u7ef4\u62a4\u6027\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u9690\u85cf\u4ee3\u7801\u884c\u4ee5\u63d0\u9ad8\u53ef\u8bfb\u6027\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u6ce8\u91ca\u6765\u9690\u85cf\u7279\u5b9a\u4ee3\u7801\u884c\uff0c\u4f7f\u5176\u5728\u6267\u884c\u65f6\u88ab\u5ffd\u7565\u3002\u4f7f\u7528\u4e95\u53f7\uff08#\uff09\u53ef\u4ee5\u5c06\u4ee3\u7801\u884c\u6807\u8bb0\u4e3a\u6ce8\u91ca\uff0c\u8fd9\u6837\u5b83\u4eec\u5c31\u4e0d\u4f1a\u88ab\u6267\u884c\u3002\u4f8b\u5982\uff0c<code># print(&quot;\u8fd9\u884c\u4ee3\u7801\u4e0d\u4f1a\u88ab\u6267\u884c&quot;)<\/code>\u3002\u8fd9\u6837\u505a\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5728\u8c03\u8bd5\u6216\u8fdb\u884c<a href=\"https:\/\/docs.pingcode.com\/code-review\" target=\"_blank\">\u4ee3\u7801\u5ba1\u67e5<\/a>\u65f6\uff0c\u4fdd\u6301\u4ee3\u7801\u7684\u6e05\u6670\u6027\u3002<\/p>\n<p><strong>Python\u662f\u5426\u652f\u6301\u591a\u884c\u6ce8\u91ca\uff1f<\/strong><br \/>Python\u672c\u8eab\u5e76\u6ca1\u6709\u4e13\u95e8\u7684\u591a\u884c\u6ce8\u91ca\u8bed\u6cd5\uff0c\u4f46\u53ef\u4ee5\u901a\u8fc7\u8fde\u7eed\u4f7f\u7528\u4e95\u53f7\uff08#\uff09\u6765\u5b9e\u73b0\u591a\u884c\u6ce8\u91ca\u3002\u53e6\u4e00\u79cd\u5e38\u89c1\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u4e09\u91cd\u5f15\u53f7\uff08&#39;&#39;&#39;\u6216&quot;&quot;&quot;\uff09\u6765\u521b\u5efa\u6587\u6863\u5b57\u7b26\u4e32\uff0c\u5c3d\u7ba1\u8fd9\u901a\u5e38\u7528\u4e8e\u6587\u6863\u8bf4\u660e\uff0c\u4f46\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4e5f\u53ef\u4ee5\u7528\u4f5c\u591a\u884c\u6ce8\u91ca\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u52a8\u6001\u7981\u7528\u67d0\u4e9b\u884c\u7684\u6267\u884c\uff1f<\/strong><br \/>\u60a8\u53ef\u4ee5\u4f7f\u7528\u6761\u4ef6\u8bed\u53e5\u6765\u52a8\u6001\u63a7\u5236\u67d0\u4e9b\u4ee3\u7801\u884c\u7684\u6267\u884c\u3002\u4f8b\u5982\uff0c\u8bbe\u7f6e\u4e00\u4e2a\u5e03\u5c14\u53d8\u91cf\u6765\u51b3\u5b9a\u662f\u5426\u6267\u884c\u7279\u5b9a\u7684\u4ee3\u7801\u884c\u3002\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<pre><code class=\"language-python\">execute_code = False\nif execute_code:\n    print(&quot;\u8fd9\u884c\u4ee3\u7801\u5c06\u88ab\u6267\u884c&quot;)\n<\/code><\/pre>\n<p>\u5f53<code>execute_code<\/code>\u4e3a<code>False<\/code>\u65f6\uff0c\u4ee3\u7801\u884c\u5c06\u4e0d\u4f1a\u88ab\u6267\u884c\u3002\u8fd9\u79cd\u65b9\u6cd5\u5728\u8c03\u8bd5\u548c\u6d4b\u8bd5\u4e2d\u7279\u522b\u6709\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u9690\u53bb\u4e00\u884c\u7a0b\u5e8f\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u6ce8\u91ca\u3001\u4f7f\u7528if\u8bed\u53e5\u3001\u4f7f\u7528try-except\u5757\u3001\u4f7f\u7528\u51fd\u6570\u5c01\u88c5\u7b49\u3002\u5176 [&hellip;]","protected":false},"author":3,"featured_media":1037018,"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\/1037010"}],"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=1037010"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1037010\/revisions"}],"predecessor-version":[{"id":1037022,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1037010\/revisions\/1037022"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1037018"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1037010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1037010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1037010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}