{"id":1109238,"date":"2025-01-08T17:08:13","date_gmt":"2025-01-08T09:08:13","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1109238.html"},"modified":"2025-01-08T17:08:16","modified_gmt":"2025-01-08T09:08:16","slug":"python%e7%bc%96%e7%a8%8b%e5%ae%8c%e6%88%90%e5%90%8e%e5%a6%82%e4%bd%95%e5%9c%a8%e6%a1%8c%e9%9d%a2%e8%bf%90%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1109238.html","title":{"rendered":"python\u7f16\u7a0b\u5b8c\u6210\u540e\u5982\u4f55\u5728\u684c\u9762\u8fd0\u884c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25072609\/180e9b2d-12a9-4845-bd21-3c1fbb89282c.webp\" alt=\"python\u7f16\u7a0b\u5b8c\u6210\u540e\u5982\u4f55\u5728\u684c\u9762\u8fd0\u884c\" \/><\/p>\n<p><p> <strong>\u5728\u684c\u9762\u4e0a\u8fd0\u884cPython\u7f16\u7a0b\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u521b\u5efaPython\u811a\u672c\u3001\u4f7f\u7528\u89e3\u91ca\u5668\u6267\u884c\u3001\u521b\u5efa\u5feb\u6377\u65b9\u5f0f\u3001\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/strong> \u5176\u4e2d\uff0c\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\u662f\u4e00\u79cd\u5e38\u89c1\u4e14\u5b9e\u7528\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u786e\u4fdd\u5728\u76ee\u6807\u8ba1\u7b97\u673a\u4e0a\u65e0\u9700\u5b89\u88c5Python\u89e3\u91ca\u5668\u5c31\u80fd\u8fd0\u884c\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><p>\u8981\u5728\u684c\u9762\u4e0a\u8fd0\u884cPython\u7f16\u7a0b\uff0c\u9996\u5148\u9700\u8981\u7f16\u5199\u4e00\u4e2aPython\u811a\u672c\uff0c\u5e76\u4fdd\u5b58\u4e3a<code>.py<\/code>\u6587\u4ef6\u3002\u7136\u540e\uff0c\u60a8\u53ef\u4ee5\u9009\u62e9\u76f4\u63a5\u4f7f\u7528Python\u89e3\u91ca\u5668\u6765\u8fd0\u884c\u8be5\u811a\u672c\uff0c\u6216\u8005\u5c06\u5176\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff08\u5982<code>.exe<\/code>\u6587\u4ef6\uff09\uff0c\u4ee5\u4fbf\u5728\u6ca1\u6709Python\u89e3\u91ca\u5668\u7684\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884c\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u6b65\u9aa4\u548c\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u7f16\u5199Python\u811a\u672c<\/h2>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u7f16\u5199\u4e00\u4e2aPython\u811a\u672c\uff0c\u5e76\u4fdd\u5b58\u4e3a\u4e00\u4e2a<code>.py<\/code>\u6587\u4ef6\u3002\u5047\u8bbe\u6211\u4eec\u7f16\u5199\u4e86\u4e00\u4e2a\u7b80\u5355\u7684Hello World\u7a0b\u5e8f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># hello.py<\/p>\n<p>print(&quot;Hello, world!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5c06\u8fd9\u4e2a\u6587\u4ef6\u4fdd\u5b58\u5230\u684c\u9762\u4e0a\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u4f7f\u7528Python\u89e3\u91ca\u5668\u8fd0\u884c\u811a\u672c<\/h2>\n<\/p>\n<p><p>\u5982\u679c\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u89e3\u91ca\u5668\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u5728\u684c\u9762\u4e0a\u8fd0\u884cPython\u811a\u672c\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff08Windows\uff09\u6216\u7ec8\u7aef\uff08Mac\/Linux\uff09\u3002<\/li>\n<li>\u5bfc\u822a\u5230\u684c\u9762\u76ee\u5f55\u3002\u5bf9\u4e8eWindows\u7528\u6237\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4<code>cd Desktop<\/code>\uff0c\u5bf9\u4e8eMac\/Linux\u7528\u6237\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4<code>cd ~\/Desktop<\/code>\u3002<\/li>\n<li>\u8fd0\u884cPython\u811a\u672c\uff1a<code>python hello.py<\/code>\u3002<\/li>\n<\/ol>\n<p><p>\u8fd9\u5c06\u8f93\u51fa\u201cHello, world!\u201d\u5230\u547d\u4ee4\u884c\u7a97\u53e3\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001\u521b\u5efa\u5feb\u6377\u65b9\u5f0f<\/h2>\n<\/p>\n<p><p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u60a8\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5feb\u6377\u65b9\u5f0f\u6765\u8fd0\u884cPython\u811a\u672c\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u53f3\u952e\u70b9\u51fb\u684c\u9762\uff0c\u9009\u62e9\u201c\u65b0\u5efa\u201d&gt;\u201c\u5feb\u6377\u65b9\u5f0f\u201d\u3002<\/li>\n<li>\u5728\u201c\u8bf7\u8f93\u5165\u5bf9\u8c61\u7684\u4f4d\u7f6e\u201d\u5b57\u6bb5\u4e2d\uff0c\u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a\n<pre><code>&quot;C:\\Path\\To\\Python.exe&quot; &quot;C:\\Path\\To\\Script\\hello.py&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u66ff\u6362<code>C:\\Path\\To\\Python.exe<\/code>\u4e3aPython\u89e3\u91ca\u5668\u7684\u8def\u5f84\uff0c\u66ff\u6362<code>C:\\Path\\To\\Script\\hello.py<\/code>\u4e3aPython\u811a\u672c\u7684\u8def\u5f84\u3002<\/li>\n<\/p>\n<li>\u70b9\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\uff0c\u4e3a\u5feb\u6377\u65b9\u5f0f\u547d\u540d\uff0c\u7136\u540e\u70b9\u51fb\u201c\u5b8c\u6210\u201d\u3002<\/li>\n<\/ol>\n<p><p>\u53cc\u51fb\u521b\u5efa\u7684\u5feb\u6377\u65b9\u5f0f\uff0c\u5373\u53ef\u8fd0\u884cPython\u811a\u672c\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6<\/h2>\n<\/p>\n<p><p>\u4e3a\u4e86\u5728\u6ca1\u6709Python\u89e3\u91ca\u5668\u7684\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884cPython\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u4f7f\u7528\u5de5\u5177\u5c06Python\u811a\u672c\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3002\u5e38\u7528\u7684\u5de5\u5177\u5305\u62ecPyInstaller\u548ccx_Freeze\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528PyInstaller<\/h3>\n<\/p>\n<p><p>PyInstaller\u53ef\u4ee5\u5c06Python\u811a\u672c\u6253\u5305\u6210\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5b89\u88c5PyInstaller\uff1a\n<pre><code>pip install pyinstaller<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff08Windows\uff09\u6216\u7ec8\u7aef\uff08Mac\/Linux\uff09\uff0c\u5bfc\u822a\u5230Python\u811a\u672c\u6240\u5728\u7684\u76ee\u5f55\u3002<\/li>\n<li>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u5c06Python\u811a\u672c\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff1a\n<pre><code>pyinstaller --onefile hello.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u8fd9\u5c06\u5728<code>dist<\/code>\u76ee\u5f55\u4e2d\u751f\u6210\u4e00\u4e2a<code>hello.exe<\/code>\u6587\u4ef6\u3002<\/li>\n<\/p>\n<\/ol>\n<p><h3>\u4f7f\u7528cx_Freeze<\/h3>\n<\/p>\n<p><p>cx_Freeze\u4e5f\u662f\u4e00\u4e2a\u5c06Python\u811a\u672c\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5de5\u5177\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5b89\u88c5cx_Freeze\uff1a\n<pre><code>pip install cx_Freeze<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u521b\u5efa\u4e00\u4e2a<code>setup.py<\/code>\u6587\u4ef6\uff0c\u5e76\u7f16\u5199\u6253\u5305\u914d\u7f6e\uff1a\n<pre><code class=\"language-python\">from cx_Freeze import setup, Executable<\/p>\n<p>setup(<\/p>\n<p>    name = &quot;hello&quot;,<\/p>\n<p>    version = &quot;0.1&quot;,<\/p>\n<p>    description = &quot;Hello World Program&quot;,<\/p>\n<p>    executables = [Executable(&quot;hello.py&quot;)]<\/p>\n<p>)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff08Windows\uff09\u6216\u7ec8\u7aef\uff08Mac\/Linux\uff09\uff0c\u5bfc\u822a\u5230<code>setup.py<\/code>\u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55\u3002<\/li>\n<li>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u5c06Python\u811a\u672c\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff1a\n<pre><code>python setup.py build<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u8fd9\u5c06\u5728<code>build<\/code>\u76ee\u5f55\u4e2d\u751f\u6210\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/li>\n<\/p>\n<\/ol>\n<p><h2>\u4e94\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h2>\n<\/p>\n<p><p>\u5982\u679c\u60a8\u5e0c\u671b\u5728\u547d\u4ee4\u884c\u4e2d\u76f4\u63a5\u8fd0\u884cPython\u811a\u672c\uff0c\u800c\u65e0\u9700\u6307\u5b9aPython\u89e3\u91ca\u5668\u7684\u8def\u5f84\uff0c\u53ef\u4ee5\u5c06Python\u5b89\u88c5\u76ee\u5f55\u6dfb\u52a0\u5230\u7cfb\u7edf\u7684\u73af\u5883\u53d8\u91cf\u4e2d\u3002<\/p>\n<\/p>\n<p><h3>\u5728Windows\u4e0a\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h3>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u201c\u63a7\u5236\u9762\u677f\u201d\uff0c\u9009\u62e9\u201c\u7cfb\u7edf\u548c\u5b89\u5168\u201d&gt;\u201c\u7cfb\u7edf\u201d\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\uff0c\u5728\u201c\u7cfb\u7edf\u5c5e\u6027\u201d\u7a97\u53e3\u4e2d\uff0c\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\u3002<\/li>\n<li>\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u90e8\u5206\uff0c\u627e\u5230\u5e76\u9009\u62e9\u201cPath\u201d\uff0c\u7136\u540e\u70b9\u51fb\u201c\u7f16\u8f91\u201d\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u65b0\u5efa\u201d\uff0c\u6dfb\u52a0Python\u5b89\u88c5\u76ee\u5f55\u7684\u8def\u5f84\uff08\u5982<code>C:\\Python39<\/code>\uff09\uff0c\u7136\u540e\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u3002<\/li>\n<\/ol>\n<p><h3>\u5728Mac\/Linux\u4e0a\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h3>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u7ec8\u7aef\uff0c\u7f16\u8f91shell\u914d\u7f6e\u6587\u4ef6\uff08\u5982<code>.bashrc<\/code>\u6216<code>.zshrc<\/code>\uff09\u3002<\/li>\n<li>\u6dfb\u52a0\u4ee5\u4e0b\u884c\uff0c\u5c06Python\u5b89\u88c5\u76ee\u5f55\u6dfb\u52a0\u5230<code>PATH<\/code>\u73af\u5883\u53d8\u91cf\u4e2d\uff1a\n<pre><code class=\"language-sh\">export PATH=&quot;\/usr\/local\/bin\/python3:$PATH&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u4fdd\u5b58\u6587\u4ef6\uff0c\u5e76\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u4f7f\u66f4\u6539\u751f\u6548\uff1a\n<pre><code class=\"language-sh\">source ~\/.bashrc<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u60a8\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u76f4\u63a5\u8fd0\u884cPython\u811a\u672c\uff0c\u800c\u65e0\u9700\u6307\u5b9aPython\u89e3\u91ca\u5668\u7684\u8def\u5f84\u3002<\/p>\n<\/p>\n<p><h2>\u516d\u3001\u603b\u7ed3<\/h2>\n<\/p>\n<p><p>\u5728\u684c\u9762\u4e0a\u8fd0\u884cPython\u7f16\u7a0b\u7684\u65b9\u6cd5\u591a\u79cd\u591a\u6837\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002<strong>\u4f7f\u7528Python\u89e3\u91ca\u5668\u8fd0\u884c\u811a\u672c\u3001\u521b\u5efa\u5feb\u6377\u65b9\u5f0f\u3001\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6<\/strong>\uff0c\u8fd9\u4e9b\u65b9\u6cd5\u5404\u6709\u4f18\u7f3a\u70b9\u3002\u76f4\u63a5\u8fd0\u884c\u811a\u672c\u9002\u7528\u4e8e\u5f00\u53d1\u548c\u8c03\u8bd5\u9636\u6bb5\uff0c\u800c\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\u5219\u9002\u7528\u4e8e\u53d1\u5e03\u548c\u5206\u53d1\u9636\u6bb5\u3002\u901a\u8fc7\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u8fd8\u53ef\u4ee5\u7b80\u5316\u8fd0\u884cPython\u811a\u672c\u7684\u547d\u4ee4\uff0c\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u638c\u63e1\u8fd9\u4e9b\u6280\u5de7\u5c06\u6709\u52a9\u4e8e\u60a8\u66f4\u65b9\u4fbf\u5730\u8fd0\u884c\u548c\u7ba1\u7406Python\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728\u684c\u9762\u4e0a\u8fd0\u884cPython\u7a0b\u5e8f\uff1f<\/strong><br \/>\u8981\u5728\u684c\u9762\u4e0a\u8fd0\u884cPython\u7a0b\u5e8f\uff0c\u60a8\u53ef\u4ee5\u5c06\u60a8\u7684Python\u811a\u672c\u4fdd\u5b58\u4e3a\u4e00\u4e2a.py\u6587\u4ef6\uff0c\u5e76\u5728\u684c\u9762\u521b\u5efa\u4e00\u4e2a\u5feb\u6377\u65b9\u5f0f\u3002\u786e\u4fdd\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u5df2\u5b89\u88c5Python\uff0c\u5e76\u901a\u8fc7\u53cc\u51fb\u5feb\u6377\u65b9\u5f0f\u6216\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165\u76f8\u5173\u547d\u4ee4\u6765\u6267\u884c\u7a0b\u5e8f\u3002\u60a8\u4e5f\u53ef\u4ee5\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u5982PyCharm\u6216VSCode\u76f4\u63a5\u5728IDE\u4e2d\u8fd0\u884c\u3002<\/p>\n<p><strong>\u9700\u8981\u5b89\u88c5\u54ea\u4e9b\u8f6f\u4ef6\u624d\u80fd\u5728\u684c\u9762\u4e0a\u8fd0\u884cPython\u7a0b\u5e8f\uff1f<\/strong><br \/>\u5728\u8fd0\u884cPython\u7a0b\u5e8f\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u786e\u4fdd\u5b89\u88c5\u4e86Python\u89e3\u91ca\u5668\u3002\u60a8\u53ef\u4ee5\u4ecePython\u5b98\u7f51\uff08python.org\uff09\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u7684Python\u3002\u540c\u65f6\uff0c\u5efa\u8bae\u5b89\u88c5\u4e00\u4e2a\u6587\u672c\u7f16\u8f91\u5668\u6216IDE\uff0c\u5982PyCharm\u3001Visual Studio Code\u6216Jupyter Notebook\uff0c\u4ee5\u4fbf\u66f4\u65b9\u4fbf\u5730\u7f16\u5199\u548c\u6d4b\u8bd5\u4ee3\u7801\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u5728\u684c\u9762\u8fd0\u884cPython\u7a0b\u5e8f\u65f6\u9047\u5230\u7684\u9519\u8bef\uff1f<\/strong><br \/>\u5982\u679c\u5728\u8fd0\u884cPython\u7a0b\u5e8f\u65f6\u9047\u5230\u9519\u8bef\uff0c\u60a8\u53ef\u4ee5\u67e5\u770b\u9519\u8bef\u4fe1\u606f\u4ee5\u4e86\u89e3\u95ee\u9898\u6240\u5728\u3002\u5e38\u89c1\u95ee\u9898\u5305\u62ec\u4f9d\u8d56\u5e93\u672a\u5b89\u88c5\u3001\u8def\u5f84\u8bbe\u7f6e\u9519\u8bef\u7b49\u3002\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\u6216\u7ec8\u7aef\u8fd0\u884c\u7a0b\u5e8f\u65f6\uff0c\u53ef\u4ee5\u83b7\u53d6\u66f4\u8be6\u7ec6\u7684\u9519\u8bef\u4fe1\u606f\u3002\u6b64\u5916\uff0c\u67e5\u9605\u76f8\u5173\u6587\u6863\u6216\u641c\u7d22\u9519\u8bef\u63d0\u793a\u4e5f\u80fd\u5e2e\u52a9\u60a8\u627e\u5230\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728\u684c\u9762\u4e0a\u8fd0\u884cPython\u7f16\u7a0b\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u521b\u5efaPython\u811a\u672c\u3001\u4f7f\u7528\u89e3\u91ca\u5668\u6267\u884c\u3001\u521b\u5efa\u5feb\u6377\u65b9\u5f0f\u3001\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3002 [&hellip;]","protected":false},"author":3,"featured_media":1109250,"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\/1109238"}],"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=1109238"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1109238\/revisions"}],"predecessor-version":[{"id":1109251,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1109238\/revisions\/1109251"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1109250"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1109238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1109238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1109238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}