{"id":1135250,"date":"2025-01-08T21:23:22","date_gmt":"2025-01-08T13:23:22","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1135250.html"},"modified":"2025-01-08T21:23:25","modified_gmt":"2025-01-08T13:23:25","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e8%ae%a9%e4%b8%80%e4%b8%aa%e8%84%9a%e6%9c%ac%e5%be%aa%e7%8e%af%e6%89%a7%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1135250.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u8ba9\u4e00\u4e2a\u811a\u672c\u5faa\u73af\u6267\u884c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25103949\/9e6fe297-e69b-4816-a350-fe1de169fc77.webp\" alt=\"python\u4e2d\u5982\u4f55\u8ba9\u4e00\u4e2a\u811a\u672c\u5faa\u73af\u6267\u884c\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u8ba9\u4e00\u4e2a\u811a\u672c\u5faa\u73af\u6267\u884c\u7684\u5e38\u7528\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528<code>while<\/code>\u5faa\u73af\u3001\u4f7f\u7528<code>for<\/code>\u5faa\u73af\u3001\u4f7f\u7528<code>itertools<\/code>\u6a21\u5757\u3001\u4f7f\u7528\u9012\u5f52\u51fd\u6570<\/strong>\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u7528\u548c\u6700\u76f4\u89c2\u7684\u65b9\u6cd5\u662f\u4f7f\u7528<code>while<\/code>\u5faa\u73af\u3002\u901a\u8fc7\u8bbe\u7f6e\u4e00\u4e2a\u6761\u4ef6\uff0c\u4f7f\u5176\u5728\u6ee1\u8db3\u8be5\u6761\u4ef6\u65f6\u4e0d\u65ad\u5faa\u73af\u6267\u884c\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u5b9e\u73b0\u811a\u672c\u7684\u5faa\u73af\u8fd0\u884c\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>while<\/code>\u5faa\u73af\u65f6\uff0c\u901a\u5e38\u4f1a\u4f7f\u7528\u4e00\u4e2a\u5e03\u5c14\u503c\u4f5c\u4e3a\u6761\u4ef6\u63a7\u5236\u5faa\u73af\u7684\u6267\u884c\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e<code>True<\/code>\u4f5c\u4e3a\u6761\u4ef6\uff0c\u4f7f\u811a\u672c\u65e0\u9650\u5faa\u73af\u6267\u884c\uff0c\u76f4\u5230\u88ab\u624b\u52a8\u7ec8\u6b62\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u4f7f\u7528<code>while<\/code>\u5faa\u73af\u4f7f\u4e00\u4e2a\u811a\u672c\u65e0\u9650\u5faa\u73af\u6267\u884c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">while True:<\/p>\n<p>    print(&quot;This script is running in a loop.&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u5728\u5faa\u73af\u4e2d\u6dfb\u52a0\u4e00\u4e9b\u903b\u8f91\u6761\u4ef6\u6216\u8ba1\u65f6\u5668\uff0c\u4ee5\u63a7\u5236\u811a\u672c\u7684\u6267\u884c\u9891\u7387\u6216\u6839\u636e\u7279\u5b9a\u6761\u4ef6\u7ec8\u6b62\u5faa\u73af\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u51e0\u79cd\u5b9e\u73b0\u811a\u672c\u5faa\u73af\u6267\u884c\u7684\u65b9\u6cd5\u548c\u5e94\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<h2><strong>\u4e00\u3001\u4f7f\u7528<code>while<\/code>\u5faa\u73af<\/strong><\/h2>\n<p><h2>1. \u65e0\u9650\u5faa\u73af<\/h2>\n<\/p>\n<p><p>\u4f7f\u7528<code>while True<\/code>\u53ef\u4ee5\u5b9e\u73b0\u65e0\u9650\u5faa\u73af\uff0c\u76f4\u5230\u624b\u52a8\u7ec8\u6b62\u811a\u672c\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u6dfb\u52a0\u6761\u4ef6\u6216\u8ba1\u65f6\u5668\u6765\u63a7\u5236\u5faa\u73af\u7684\u6267\u884c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import time<\/p>\n<p>while True:<\/p>\n<p>    print(&quot;This script is running in a loop.&quot;)<\/p>\n<p>    time.sleep(1)  # \u4f11\u77201\u79d2\u949f\uff0c\u9632\u6b62\u8fc7\u4e8e\u9891\u7e41\u7684\u6267\u884c<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u811a\u672c\u6bcf\u96941\u79d2\u949f\u8f93\u51fa\u4e00\u6b21\u4fe1\u606f\u3002<code>time.sleep(1)<\/code>\u7528\u4e8e\u8ba9\u811a\u672c\u4f11\u77201\u79d2\u949f\uff0c\u4ee5\u964d\u4f4eCPU\u7684\u5360\u7528\u7387\u3002<\/p>\n<\/p>\n<p><h2>2. \u6761\u4ef6\u5faa\u73af<\/h2>\n<\/p>\n<p><p>\u53ef\u4ee5\u6839\u636e\u7279\u5b9a\u6761\u4ef6\u63a7\u5236\u5faa\u73af\u7684\u6267\u884c\u3002\u4f8b\u5982\uff0c\u5f53\u4e00\u4e2a\u53d8\u91cf\u6ee1\u8db3\u67d0\u4e2a\u6761\u4ef6\u65f6\uff0c\u7ec8\u6b62\u5faa\u73af\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">count = 0<\/p>\n<p>while count &lt; 5:<\/p>\n<p>    print(f&quot;Loop iteration {count}&quot;)<\/p>\n<p>    count += 1<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u5faa\u73af\u5728<code>count<\/code>\u5c0f\u4e8e5\u65f6\u6267\u884c\uff0c\u6bcf\u6b21\u5faa\u73af\u540e<code>count<\/code>\u589e\u52a01\uff0c\u76f4\u5230<code>count<\/code>\u7b49\u4e8e5\u65f6\u7ec8\u6b62\u5faa\u73af\u3002<\/p>\n<\/p>\n<h2><strong>\u4e8c\u3001\u4f7f\u7528<code>for<\/code>\u5faa\u73af<\/strong><\/h2>\n<p><p><code>for<\/code>\u5faa\u73af\u901a\u5e38\u7528\u4e8e\u904d\u5386\u4e00\u4e2a\u6709\u9650\u7684\u5e8f\u5217\uff0c\u4f46\u4e5f\u53ef\u4ee5\u7528\u4e8e\u5faa\u73af\u6267\u884c\u7279\u5b9a\u6b21\u6570\u7684\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h2>1. \u904d\u5386\u5e8f\u5217<\/h2>\n<\/p>\n<p><pre><code class=\"language-python\">items = [&quot;apple&quot;, &quot;banana&quot;, &quot;cherry&quot;]<\/p>\n<p>for item in items:<\/p>\n<p>    print(item)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>for<\/code>\u5faa\u73af\u904d\u5386<code>items<\/code>\u5217\u8868\uff0c\u5e76\u8f93\u51fa\u6bcf\u4e2a\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><h2>2. \u56fa\u5b9a\u6b21\u6570\u5faa\u73af<\/h2>\n<\/p>\n<p><p>\u4f7f\u7528<code>range<\/code>\u51fd\u6570\u53ef\u4ee5\u5b9e\u73b0\u56fa\u5b9a\u6b21\u6570\u7684\u5faa\u73af\u6267\u884c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">for i in range(5):<\/p>\n<p>    print(f&quot;Loop iteration {i}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u5faa\u73af\u6267\u884c5\u6b21\uff0c\u6bcf\u6b21\u8f93\u51fa\u5f53\u524d\u7684\u5faa\u73af\u8ba1\u6570\u3002<\/p>\n<\/p>\n<h2><strong>\u4e09\u3001\u4f7f\u7528<code>itertools<\/code>\u6a21\u5757<\/strong><\/h2>\n<p><p><code>itertools<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u8bb8\u591a\u6709\u7528\u7684\u8fed\u4ee3\u5668\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u751f\u6210\u65e0\u9650\u5e8f\u5217\u6216\u5faa\u73af\u6267\u884c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h2>1. \u65e0\u9650\u8fed\u4ee3<\/h2>\n<\/p>\n<p><pre><code class=\"language-python\">import itertools<\/p>\n<p>for i in itertools.count(start=0, step=1):<\/p>\n<p>    print(f&quot;Loop iteration {i}&quot;)<\/p>\n<p>    if i &gt;= 4:<\/p>\n<p>        break<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>itertools.count<\/code>\u751f\u6210\u4e00\u4e2a\u4ece0\u5f00\u59cb\u3001\u6b65\u957f\u4e3a1\u7684\u65e0\u9650\u5e8f\u5217\uff0c\u901a\u8fc7<code>if<\/code>\u6761\u4ef6\u63a7\u5236\u5faa\u73af\u5728<code>i<\/code>\u5927\u4e8e\u7b49\u4e8e4\u65f6\u7ec8\u6b62\u3002<\/p>\n<\/p>\n<p><h2>2. \u5faa\u73af\u8fed\u4ee3<\/h2>\n<\/p>\n<p><p><code>itertools.cycle<\/code>\u53ef\u4ee5\u5faa\u73af\u904d\u5386\u4e00\u4e2a\u5e8f\u5217\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import itertools<\/p>\n<p>items = [&quot;apple&quot;, &quot;banana&quot;, &quot;cherry&quot;]<\/p>\n<p>for item in itertools.cycle(items):<\/p>\n<p>    print(item)<\/p>\n<p>    time.sleep(1)  # \u4f11\u77201\u79d2\u949f\uff0c\u9632\u6b62\u8fc7\u4e8e\u9891\u7e41\u7684\u6267\u884c<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>itertools.cycle<\/code>\u65e0\u9650\u5faa\u73af\u904d\u5386<code>items<\/code>\u5217\u8868\u4e2d\u7684\u5143\u7d20\u3002<\/p>\n<\/p>\n<h2><strong>\u56db\u3001\u4f7f\u7528\u9012\u5f52\u51fd\u6570<\/strong><\/h2>\n<p><p>\u9012\u5f52\u51fd\u6570\u662f\u6307\u4e00\u4e2a\u51fd\u6570\u5728\u5176\u5b9a\u4e49\u4e2d\u8c03\u7528\u81ea\u8eab\uff0c\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u5faa\u73af\u6267\u884c\u7684\u6548\u679c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def recursive_loop(count):<\/p>\n<p>    if count &lt; 5:<\/p>\n<p>        print(f&quot;Loop iteration {count}&quot;)<\/p>\n<p>        recursive_loop(count + 1)<\/p>\n<p>recursive_loop(0)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u51fd\u6570<code>recursive_loop<\/code>\u5728\u6ee1\u8db3\u6761\u4ef6\u65f6\u8c03\u7528\u81ea\u8eab\uff0c\u5b9e\u73b0\u4e86\u7c7b\u4f3c\u4e8e<code>while<\/code>\u5faa\u73af\u7684\u6548\u679c\u3002<\/p>\n<\/p>\n<h2><strong>\u4e94\u3001\u5b9e\u9645\u5e94\u7528\u573a\u666f<\/strong><\/h2>\n<p><h2>1. \u5b9a\u65f6\u4efb\u52a1<\/h2>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u5b9a\u65f6\u6267\u884c\u67d0\u4e9b\u4efb\u52a1\u3002\u4f8b\u5982\uff0c\u6bcf\u9694\u4e00\u6bb5\u65f6\u95f4\u68c0\u67e5\u4e00\u6b21\u6587\u4ef6\u5939\u4e2d\u7684\u65b0\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import time<\/p>\n<p>import os<\/p>\n<p>def check_new_files(folder_path):<\/p>\n<p>    while True:<\/p>\n<p>        files = os.listdir(folder_path)<\/p>\n<p>        print(f&quot;Current files: {files}&quot;)<\/p>\n<p>        time.sleep(10)  # \u6bcf\u969410\u79d2\u949f\u68c0\u67e5\u4e00\u6b21<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>2. \u6570\u636e\u91c7\u96c6<\/h2>\n<\/p>\n<p><p>\u5728\u6570\u636e\u91c7\u96c6\u548c\u722c\u866b\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u5faa\u73af\u6267\u884c\u91c7\u96c6\u4efb\u52a1\uff0c\u4ee5\u83b7\u53d6\u6700\u65b0\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import time<\/p>\n<p>import requests<\/p>\n<p>def fetch_data(api_url):<\/p>\n<p>    while True:<\/p>\n<p>        response = requests.get(api_url)<\/p>\n<p>        data = response.json()<\/p>\n<p>        print(f&quot;Fetched data: {data}&quot;)<\/p>\n<p>        time.sleep(60)  # \u6bcf\u969460\u79d2\u949f\u91c7\u96c6\u4e00\u6b21\u6570\u636e<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u793a\u4f8b\uff0c\u53ef\u4ee5\u770b\u5230\u5728Python\u4e2d\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5b9e\u73b0\u811a\u672c\u7684\u5faa\u73af\u6267\u884c\u3002\u6839\u636e\u5177\u4f53\u7684\u9700\u6c42\u548c\u5e94\u7528\u573a\u666f\uff0c\u53ef\u4ee5\u9009\u62e9\u9002\u5408\u7684\u65b9\u6cd5\u6765\u63a7\u5236\u811a\u672c\u7684\u6267\u884c\u903b\u8f91\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b9e\u73b0\u811a\u672c\u7684\u5faa\u73af\u6267\u884c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>while<\/code>\u5faa\u73af\u6216<code>for<\/code>\u5faa\u73af\u6765\u5b9e\u73b0\u811a\u672c\u7684\u5faa\u73af\u6267\u884c\u3002<code>while<\/code>\u5faa\u73af\u4f1a\u5728\u7ed9\u5b9a\u6761\u4ef6\u4e3a\u771f\u65f6\u4e0d\u65ad\u6267\u884c\uff0c\u800c<code>for<\/code>\u5faa\u73af\u5219\u53ef\u4ee5\u904d\u5386\u4e00\u4e2a\u53ef\u8fed\u4ee3\u5bf9\u8c61\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff0c\u4f7f\u7528<code>while<\/code>\u5faa\u73af\u6765\u91cd\u590d\u6267\u884c\u67d0\u6bb5\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"language-python\">while True:\n    # \u8fd9\u91cc\u662f\u8981\u91cd\u590d\u6267\u884c\u7684\u4ee3\u7801\n    print(&quot;\u8fd9\u6bb5\u4ee3\u7801\u5c06\u4f1a\u65e0\u9650\u5faa\u73af\u6267\u884c&quot;)\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u8bbe\u7f6e\u5faa\u73af\u7684\u7ec8\u6b62\u6761\u4ef6\uff1f<\/strong><br \/>\u53ef\u4ee5\u5728\u5faa\u73af\u4e2d\u6dfb\u52a0\u6761\u4ef6\u5224\u65ad\u8bed\u53e5\u6765\u63a7\u5236\u4f55\u65f6\u505c\u6b62\u5faa\u73af\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u901a\u8fc7\u7528\u6237\u8f93\u5165\u6765\u51b3\u5b9a\u662f\u5426\u7ee7\u7eed\u6267\u884c\uff1a<\/p>\n<pre><code class=\"language-python\">while True:\n    response = input(&quot;\u8981\u7ee7\u7eed\u6267\u884c\u5417\uff1f(yes\/no): &quot;)\n    if response.lower() != &#39;yes&#39;:\n        break\n    print(&quot;\u7ee7\u7eed\u6267\u884c\u4ee3\u7801&quot;)\n<\/code><\/pre>\n<p><strong>\u5728Python\u5faa\u73af\u4e2d\u5982\u4f55\u5904\u7406\u5f02\u5e38\uff1f<\/strong><br \/>\u5728\u5faa\u73af\u4e2d\u5904\u7406\u5f02\u5e38\u662f\u4e00\u4e2a\u597d\u4e60\u60ef\uff0c\u53ef\u4ee5\u786e\u4fdd\u7a0b\u5e8f\u4e0d\u4f1a\u56e0\u4e3a\u4e00\u4e2a\u9519\u8bef\u800c\u5d29\u6e83\u3002\u53ef\u4ee5\u4f7f\u7528<code>try<\/code>\u548c<code>except<\/code>\u6765\u6355\u6349\u5f02\u5e38\uff0c\u4ee5\u4e0b\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u5728\u5faa\u73af\u4e2d\u5904\u7406\u5f02\u5e38\uff1a<\/p>\n<pre><code class=\"language-python\">while True:\n    try:\n        number = int(input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u6574\u6570\uff08\u8f93\u5165\u975e\u6574\u6570\u5c06\u5bfc\u81f4\u5f02\u5e38\uff09\uff1a&quot;))\n        print(f&quot;\u60a8\u8f93\u5165\u7684\u6574\u6570\u662f\uff1a{number}&quot;)\n    except ValueError:\n        print(&quot;\u8f93\u5165\u65e0\u6548\uff0c\u8bf7\u8f93\u5165\u4e00\u4e2a\u6574\u6570\u3002&quot;)\n<\/code><\/pre>\n<p>\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u60a8\u7075\u6d3b\u63a7\u5236Python\u811a\u672c\u7684\u5faa\u73af\u6267\u884c\uff0c\u5e76\u589e\u5f3a\u4ee3\u7801\u7684\u5065\u58ee\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u8ba9\u4e00\u4e2a\u811a\u672c\u5faa\u73af\u6267\u884c\u7684\u5e38\u7528\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528while\u5faa\u73af\u3001\u4f7f\u7528for\u5faa\u73af\u3001\u4f7f\u7528itertools\u6a21 [&hellip;]","protected":false},"author":3,"featured_media":1135255,"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\/1135250"}],"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=1135250"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1135250\/revisions"}],"predecessor-version":[{"id":1135256,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1135250\/revisions\/1135256"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1135255"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1135250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1135250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1135250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}