{"id":1108838,"date":"2025-01-08T17:04:08","date_gmt":"2025-01-08T09:04:08","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1108838.html"},"modified":"2025-01-08T17:04:10","modified_gmt":"2025-01-08T09:04:10","slug":"%e5%a6%82%e4%bd%95%e5%90%8c%e6%97%b6%e8%bf%90%e8%a1%8c%e4%b8%a4%e4%b8%aapython%e7%a8%8b%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1108838.html","title":{"rendered":"\u5982\u4f55\u540c\u65f6\u8fd0\u884c\u4e24\u4e2apython\u7a0b\u5e8f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25072334\/674d3ebf-64a3-40d1-89eb-92c98906176f.webp\" alt=\"\u5982\u4f55\u540c\u65f6\u8fd0\u884c\u4e24\u4e2apython\u7a0b\u5e8f\" \/><\/p>\n<p><p> <strong>\u8981\u540c\u65f6\u8fd0\u884c\u4e24\u4e2aPython\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u8fdb\u7a0b\u3001\u591a\u7ebf\u7a0b\u3001\u4efb\u52a1\u8c03\u5ea6\u5668\u7b49\u65b9\u6cd5\uff0c\u63a8\u8350\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u7684\u591a\u8fdb\u7a0b\u673a\u5236\u3001\u4f7f\u7528\u7ebf\u7a0b\u6a21\u5757\u3001\u5229\u7528\u4efb\u52a1\u8c03\u5ea6\u5668\uff08\u5982cron\u3001Task Scheduler\uff09\u3002\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u7684\u591a\u8fdb\u7a0b\u673a\u5236\u6700\u4e3a\u5e38\u89c1\uff0c\u4e0b\u9762\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u5b9e\u73b0\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e00\u3001\u64cd\u4f5c\u7cfb\u7edf\u7684\u591a\u8fdb\u7a0b\u673a\u5236<\/p>\n<\/p>\n<p><p>\u64cd\u4f5c\u7cfb\u7edf\u672c\u8eab\u63d0\u4f9b\u4e86\u591a\u8fdb\u7a0b\u7ba1\u7406\u7684\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u5229\u7528\u8fd9\u4e9b\u529f\u80fd\u6765\u540c\u65f6\u8fd0\u884c\u4e24\u4e2aPython\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><h3>1. Windows\u7cfb\u7edf<\/h3>\n<\/p>\n<p><p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\uff08Command Prompt\uff09\u6216PowerShell\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><h4>1.1 \u4f7f\u7528\u547d\u4ee4\u884c\uff08Command Prompt\uff09<\/h4>\n<\/p>\n<p><p>\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u6253\u5f00\u591a\u4e2a\u547d\u4ee4\u884c\u7a97\u53e3\u6765\u8fd0\u884c\u591a\u4e2a\u7a0b\u5e8f\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u7b2c\u4e00\u4e2a\u547d\u4ee4\u884c\u7a97\u53e3<\/li>\n<li>\u8fdb\u5165\u4f60\u7b2c\u4e00\u4e2aPython\u7a0b\u5e8f\u7684\u76ee\u5f55\u5e76\u8fd0\u884c\u7a0b\u5e8f\uff1a\n<pre><code class=\"language-shell\">cd path\\to\\your\\first\\program<\/p>\n<p>python first_program.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u6253\u5f00\u7b2c\u4e8c\u4e2a\u547d\u4ee4\u884c\u7a97\u53e3<\/li>\n<li>\u8fdb\u5165\u4f60\u7b2c\u4e8c\u4e2aPython\u7a0b\u5e8f\u7684\u76ee\u5f55\u5e76\u8fd0\u884c\u7a0b\u5e8f\uff1a\n<pre><code class=\"language-shell\">cd path\\to\\your\\second\\program<\/p>\n<p>python second_program.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h4>1.2 \u4f7f\u7528PowerShell<\/h4>\n<\/p>\n<p><p>PowerShell\u662fWindows\u4e2d\u66f4\u4e3a\u5f3a\u5927\u7684\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u4f60\u4e5f\u53ef\u4ee5\u5229\u7528\u5b83\u540c\u65f6\u8fd0\u884c\u591a\u4e2aPython\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00PowerShell<\/li>\n<li>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u540c\u65f6\u8fd0\u884c\u4e24\u4e2aPython\u7a0b\u5e8f\uff1a\n<pre><code class=\"language-shell\">Start-Process powershell -ArgumentList &quot;python path\\to\\your\\first\\program\\first_program.py&quot;<\/p>\n<p>Start-Process powershell -ArgumentList &quot;python path\\to\\your\\second\\program\\second_program.py&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>2. Linux\u7cfb\u7edf<\/h3>\n<\/p>\n<p><p>\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u7ec8\u7aef\u6765\u5b9e\u73b0\u540c\u65f6\u8fd0\u884c\u591a\u4e2aPython\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><h4>2.1 \u4f7f\u7528\u7ec8\u7aef<\/h4>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u7b2c\u4e00\u4e2a\u7ec8\u7aef<\/li>\n<li>\u8fdb\u5165\u7b2c\u4e00\u4e2aPython\u7a0b\u5e8f\u7684\u76ee\u5f55\u5e76\u8fd0\u884c\u7a0b\u5e8f\uff1a\n<pre><code class=\"language-shell\">cd \/path\/to\/your\/first\/program<\/p>\n<p>python3 first_program.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u6253\u5f00\u7b2c\u4e8c\u4e2a\u7ec8\u7aef<\/li>\n<li>\u8fdb\u5165\u7b2c\u4e8c\u4e2aPython\u7a0b\u5e8f\u7684\u76ee\u5f55\u5e76\u8fd0\u884c\u7a0b\u5e8f\uff1a\n<pre><code class=\"language-shell\">cd \/path\/to\/your\/second\/program<\/p>\n<p>python3 second_program.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h4>2.2 \u4f7f\u7528\u540e\u53f0\u8fdb\u7a0b<\/h4>\n<\/p>\n<p><p>\u4f60\u4e5f\u53ef\u4ee5\u5c06\u7a0b\u5e8f\u653e\u5230\u540e\u53f0\u8fd0\u884c\uff0c\u8fd9\u6837\u5c31\u65e0\u9700\u6253\u5f00\u591a\u4e2a\u7ec8\u7aef\u7a97\u53e3\u3002<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u4e00\u4e2a\u7ec8\u7aef<\/li>\n<li>\u8fd0\u884c\u7b2c\u4e00\u4e2aPython\u7a0b\u5e8f\u5e76\u5c06\u5176\u653e\u5230\u540e\u53f0\uff1a\n<pre><code class=\"language-shell\">python3 \/path\/to\/your\/first\/program\/first_program.py &amp;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u8fd0\u884c\u7b2c\u4e8c\u4e2aPython\u7a0b\u5e8f\u5e76\u5c06\u5176\u653e\u5230\u540e\u53f0\uff1a\n<pre><code class=\"language-shell\">python3 \/path\/to\/your\/second\/program\/second_program.py &amp;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u4f7f\u7528Python\u7684\u591a\u8fdb\u7a0b\u6a21\u5757<\/p>\n<\/p>\n<p><p>Python\u63d0\u4f9b\u4e86\u591a\u8fdb\u7a0b\u6a21\u5757<code>multiprocessing<\/code>\uff0c\u53ef\u4ee5\u5728\u540c\u4e00\u4e2a\u7a0b\u5e8f\u4e2d\u540c\u65f6\u8fd0\u884c\u591a\u4e2aPython\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><h3>1. multiprocessing\u6a21\u5757<\/h3>\n<\/p>\n<p><pre><code class=\"language-python\">import multiprocessing<\/p>\n<p>import subprocess<\/p>\n<p>def run_first_program():<\/p>\n<p>    subprocess.run([&quot;python&quot;, &quot;path\/to\/your\/first\/program\/first_program.py&quot;])<\/p>\n<p>def run_second_program():<\/p>\n<p>    subprocess.run([&quot;python&quot;, &quot;path\/to\/your\/second\/program\/second_program.py&quot;])<\/p>\n<p>if __name__ == &quot;__m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n__&quot;:<\/p>\n<p>    p1 = multiprocessing.Process(target=run_first_program)<\/p>\n<p>    p2 = multiprocessing.Process(target=run_second_program)<\/p>\n<p>    p1.start()<\/p>\n<p>    p2.start()<\/p>\n<p>    p1.join()<\/p>\n<p>    p2.join()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>multiprocessing<\/code>\u6a21\u5757\u521b\u5efa\u4e86\u4e24\u4e2a\u8fdb\u7a0b\uff0c\u6bcf\u4e2a\u8fdb\u7a0b\u8fd0\u884c\u4e00\u4e2aPython\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528Python\u7684\u7ebf\u7a0b\u6a21\u5757<\/p>\n<\/p>\n<p><p>Python\u7684<code>threading<\/code>\u6a21\u5757\u4e5f\u53ef\u4ee5\u7528\u6765\u540c\u65f6\u8fd0\u884c\u591a\u4e2aPython\u7a0b\u5e8f\uff0c\u4f46\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0cPython\u7684\u5168\u5c40\u89e3\u91ca\u5668\u9501\uff08GIL\uff09\u4f1a\u9650\u5236CPU\u5bc6\u96c6\u578b\u4efb\u52a1\u7684\u5e76\u884c\u6267\u884c\u3002<\/p>\n<\/p>\n<p><h3>1. threading\u6a21\u5757<\/h3>\n<\/p>\n<p><pre><code class=\"language-python\">import threading<\/p>\n<p>import subprocess<\/p>\n<p>def run_first_program():<\/p>\n<p>    subprocess.run([&quot;python&quot;, &quot;path\/to\/your\/first\/program\/first_program.py&quot;])<\/p>\n<p>def run_second_program():<\/p>\n<p>    subprocess.run([&quot;python&quot;, &quot;path\/to\/your\/second\/program\/second_program.py&quot;])<\/p>\n<p>if __name__ == &quot;__main__&quot;:<\/p>\n<p>    t1 = threading.Thread(target=run_first_program)<\/p>\n<p>    t2 = threading.Thread(target=run_second_program)<\/p>\n<p>    t1.start()<\/p>\n<p>    t2.start()<\/p>\n<p>    t1.join()<\/p>\n<p>    t2.join()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>threading<\/code>\u6a21\u5757\u521b\u5efa\u4e86\u4e24\u4e2a\u7ebf\u7a0b\uff0c\u6bcf\u4e2a\u7ebf\u7a0b\u8fd0\u884c\u4e00\u4e2aPython\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u4f7f\u7528\u4efb\u52a1\u8c03\u5ea6\u5668<\/p>\n<\/p>\n<p><p>\u4efb\u52a1\u8c03\u5ea6\u5668\u53ef\u4ee5\u5728\u6307\u5b9a\u7684\u65f6\u95f4\u540c\u65f6\u542f\u52a8\u591a\u4e2a\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><h3>1. Windows\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f<\/h3>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u4f7f\u7528Windows\u7684\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f\u6765\u5b89\u6392\u540c\u65f6\u8fd0\u884c\u591a\u4e2aPython\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f<\/li>\n<li>\u521b\u5efa\u4e00\u4e2a\u4efb\u52a1\u5e76\u8bbe\u7f6e\u89e6\u53d1\u5668<\/li>\n<li>\u5728\u201c\u64cd\u4f5c\u201d\u9009\u9879\u5361\u4e2d\u6dfb\u52a0\u4e24\u4e2a\u64cd\u4f5c\uff0c\u6bcf\u4e2a\u64cd\u4f5c\u5bf9\u5e94\u4e00\u4e2aPython\u7a0b\u5e8f\u7684\u542f\u52a8<\/li>\n<\/ol>\n<p><h3>2. Linux\u7684cron<\/h3>\n<\/p>\n<p><p>\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>cron<\/code>\u6765\u5b89\u6392\u4efb\u52a1\u3002<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00crontab\u7f16\u8f91\u5668\uff1a\n<pre><code class=\"language-shell\">crontab -e<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u6dfb\u52a0\u4ee5\u4e0b\u6761\u76ee\u6765\u540c\u65f6\u8fd0\u884c\u4e24\u4e2aPython\u7a0b\u5e8f\uff1a\n<pre><code class=\"language-shell\">* * * * * python3 \/path\/to\/your\/first\/program\/first_program.py<\/p>\n<p>* * * * * python3 \/path\/to\/your\/second\/program\/second_program.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u540c\u65f6\u8fd0\u884c\u4e24\u4e2aPython\u7a0b\u5e8f\u6709\u5f88\u591a\u65b9\u6cd5\uff0c\u5305\u62ec\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u7684\u591a\u8fdb\u7a0b\u673a\u5236\u3001Python\u7684\u591a\u8fdb\u7a0b\u548c\u7ebf\u7a0b\u6a21\u5757\u3001\u4efb\u52a1\u8c03\u5ea6\u5668\u7b49\u3002<strong>\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u7684\u591a\u8fdb\u7a0b\u673a\u5236\u662f\u6700\u5e38\u89c1\u548c\u6700\u7b80\u5355\u7684\u65b9\u6cd5<\/strong>\uff0c\u800c\u5bf9\u4e8e\u66f4\u590d\u6742\u7684\u9700\u6c42\uff0c\u4f60\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528\u591a\u8fdb\u7a0b\u6216\u591a\u7ebf\u7a0b\u6a21\u5757\u3002\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53d6\u51b3\u4e8e\u4f60\u7684\u5177\u4f53\u9700\u6c42\u548c\u7a0b\u5e8f\u7684\u590d\u6742\u5ea6\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Windows\u7cfb\u7edf\u4e0a\u5982\u4f55\u540c\u65f6\u8fd0\u884c\u4e24\u4e2aPython\u7a0b\u5e8f\uff1f<\/strong><br \/>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u63d0\u793a\u7b26\uff08CMD\uff09\u6765\u540c\u65f6\u8fd0\u884c\u591a\u4e2aPython\u7a0b\u5e8f\u3002\u6253\u5f00\u591a\u4e2a\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3\uff0c\u5206\u522b\u5bfc\u822a\u5230\u6bcf\u4e2aPython\u7a0b\u5e8f\u7684\u76ee\u5f55\u5e76\u8f93\u5165\u201cpython \u7a0b\u5e8f\u540d.py\u201d\u6765\u542f\u52a8\u3002\u53e6\u4e00\u79cd\u65b9\u6cd5\u662f\u4f7f\u7528\u6279\u5904\u7406\u6587\u4ef6\uff08.bat\uff09\uff0c\u5728\u6587\u4ef6\u4e2d\u5199\u5165\u4e24\u4e2a\u7a0b\u5e8f\u7684\u542f\u52a8\u547d\u4ee4\uff0c\u8fd9\u6837\u53ef\u4ee5\u4e00\u952e\u540c\u65f6\u542f\u52a8\u3002<\/p>\n<p><strong>\u53ef\u4ee5\u5728\u540c\u4e00\u4e2aPython\u73af\u5883\u4e2d\u540c\u65f6\u6267\u884c\u591a\u4e2a\u7a0b\u5e8f\u5417\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u7ebf\u7a0b\u6216\u591a\u8fdb\u7a0b\u5e93\u6765\u5728\u540c\u4e00\u4e2aPython\u811a\u672c\u4e2d\u5e76\u884c\u6267\u884c\u591a\u4e2a\u4efb\u52a1\u3002\u4f7f\u7528<code>threading<\/code>\u6a21\u5757\u53ef\u4ee5\u521b\u5efa\u7ebf\u7a0b\uff0c\u800c\u4f7f\u7528<code>multiprocessing<\/code>\u6a21\u5757\u5219\u53ef\u4ee5\u521b\u5efa\u72ec\u7acb\u7684\u8fdb\u7a0b\u3002\u8fd9\u79cd\u65b9\u5f0f\u9002\u5408\u9700\u8981\u5171\u4eab\u6570\u636e\u6216\u8d44\u6e90\u7684\u573a\u666f\uff0c\u4f46\u8981\u6ce8\u610f\u7ebf\u7a0b\u5b89\u5168\u548c\u8fdb\u7a0b\u95f4\u901a\u4fe1\u7684\u95ee\u9898\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528IDE\u540c\u65f6\u8fd0\u884c\u591a\u4e2aPython\u7a0b\u5e8f\uff1f<\/strong><br \/>\u8bb8\u591a\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\uff0c\u5982PyCharm\u6216VSCode\uff0c\u652f\u6301\u540c\u65f6\u6253\u5f00\u591a\u4e2a\u9879\u76ee\u6216\u7ec8\u7aef\u7a97\u53e3\u3002\u60a8\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u8fd0\u884c\u914d\u7f6e\u4e2d\u542f\u52a8\u7a0b\u5e8f\uff0c\u6216\u5728\u591a\u4e2a\u7ec8\u7aef\u4e2d\u624b\u52a8\u8fd0\u884c\u4e0d\u540c\u7684\u811a\u672c\u3002\u6b64\u5916\uff0c\u67d0\u4e9bIDE\u8fd8\u5141\u8bb8\u60a8\u5728\u4e00\u4e2a\u9879\u76ee\u4e2d\u521b\u5efa\u591a\u4e2a\u8fd0\u884c\u914d\u7f6e\uff0c\u4ece\u800c\u5feb\u901f\u5207\u6362\u548c\u6267\u884c\u4e0d\u540c\u7684\u7a0b\u5e8f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u540c\u65f6\u8fd0\u884c\u4e24\u4e2aPython\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u8fdb\u7a0b\u3001\u591a\u7ebf\u7a0b\u3001\u4efb\u52a1\u8c03\u5ea6\u5668\u7b49\u65b9\u6cd5\uff0c\u63a8\u8350\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u7684\u591a\u8fdb\u7a0b [&hellip;]","protected":false},"author":3,"featured_media":1108846,"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\/1108838"}],"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=1108838"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1108838\/revisions"}],"predecessor-version":[{"id":1108848,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1108838\/revisions\/1108848"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1108846"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1108838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1108838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1108838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}