{"id":947380,"date":"2024-12-26T23:51:08","date_gmt":"2024-12-26T15:51:08","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/947380.html"},"modified":"2024-12-26T23:51:10","modified_gmt":"2024-12-26T15:51:10","slug":"python-%e5%a6%82%e4%bd%95%e7%94%9f%e6%88%90exe","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/947380.html","title":{"rendered":"python \u5982\u4f55\u751f\u6210exe"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25083159\/5724c78a-2750-4ccf-b21d-1c703c791f56.webp\" alt=\"python \u5982\u4f55\u751f\u6210exe\" \/><\/p>\n<p><p> <strong>\u8981\u5c06Python\u811a\u672c\u751f\u6210exe\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u5de5\u5177\u5982PyInstaller\u3001cx_Freeze\u3001py2exe\u3002\u63a8\u8350\u4f7f\u7528PyInstaller\uff0c\u56e0\u4e3a\u5b83\u652f\u6301\u5927\u591a\u6570\u5e73\u53f0\u3001\u7b80\u5355\u6613\u7528\u3001\u751f\u6210\u5355\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/strong>\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u8be6\u7ec6\u8bb2\u89e3\u5982\u4f55\u4f7f\u7528PyInstaller\u5c06Python\u811a\u672c\u6253\u5305\u6210exe\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001PYINSTALLER\u5b89\u88c5\u4e0e\u57fa\u672c\u4f7f\u7528<\/p>\n<\/p>\n<p><p>PyInstaller\u662f\u4e00\u4e2a\u6d41\u884c\u7684Python\u6253\u5305\u5de5\u5177\uff0c\u652f\u6301\u5c06Python\u811a\u672c\u8f6c\u6362\u4e3a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u7684Python\u73af\u5883\u4e2d\u5b89\u88c5\u4e86PyInstaller\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pyinstaller<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f7f\u7528PyInstaller\u5c06Python\u811a\u672c\u6253\u5305\u4e3aexe\u6587\u4ef6\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u5728\u547d\u4ee4\u884c\u4e2d\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller your_script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u4f1a\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u751f\u6210\u4e00\u4e2a<code>dist<\/code>\u6587\u4ef6\u5939\uff0c\u91cc\u9762\u5305\u542b\u4e86\u751f\u6210\u7684exe\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001PYINSTALLER\u7684\u9ad8\u7ea7\u9009\u9879<\/p>\n<\/p>\n<p><p>\u5728\u57fa\u672c\u4f7f\u7528\u7684\u57fa\u7840\u4e0a\uff0cPyInstaller\u63d0\u4f9b\u4e86\u8bb8\u591a\u9ad8\u7ea7\u9009\u9879\uff0c\u53ef\u4ee5\u81ea\u5b9a\u4e49\u751f\u6210\u7684exe\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u6307\u5b9a\u56fe\u6807\u3001\u9690\u85cf\u63a7\u5236\u53f0\u7a97\u53e3\u3001\u6dfb\u52a0\u989d\u5916\u7684\u6587\u4ef6\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6307\u5b9a\u56fe\u6807<\/strong>\uff1a\u4f60\u53ef\u4ee5\u901a\u8fc7<code>--icon<\/code>\u9009\u9879\u6307\u5b9aexe\u6587\u4ef6\u7684\u56fe\u6807\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller --icon=your_icon.ico your_script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9690\u85cf\u63a7\u5236\u53f0\u7a97\u53e3<\/strong>\uff1a\u5982\u679c\u4f60\u7684\u811a\u672c\u662f\u4e00\u4e2aGUI\u5e94\u7528\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u901a\u8fc7<code>--noconsole<\/code>\u9009\u9879\u9690\u85cf\u63a7\u5236\u53f0\u7a97\u53e3\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller --noconsole your_script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6dfb\u52a0\u989d\u5916\u7684\u6587\u4ef6<\/strong>\uff1a\u5982\u679c\u4f60\u7684\u5e94\u7528\u9700\u8981\u989d\u5916\u7684\u6570\u636e\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>--add-data<\/code>\u9009\u9879\u6dfb\u52a0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller --add-data &#39;data_file.txt;.&#39; your_script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u7406\u89e3PYINSTALLER\u7684\u5de5\u4f5c\u539f\u7406<\/p>\n<\/p>\n<p><p>PyInstaller\u901a\u8fc7\u5206\u6790Python\u811a\u672c\u7684\u5bfc\u5165\u6a21\u5757\uff0c\u81ea\u52a8\u6253\u5305\u6240\u6709\u9700\u8981\u7684\u5e93\u548c\u8d44\u6e90\u3002\u5b83\u521b\u5efa\u4e00\u4e2a\u5305\u542bPython\u89e3\u91ca\u5668\u548c\u6240\u6709\u4f9d\u8d56\u9879\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u56e0\u6b64\u7528\u6237\u4e0d\u9700\u8981\u5728\u76ee\u6807\u673a\u5668\u4e0a\u5b89\u88c5Python\u73af\u5883\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f9d\u8d56\u5206\u6790<\/strong>\uff1aPyInstaller\u4f1a\u5206\u6790\u811a\u672c\u4e2d\u7684\u5bfc\u5165\u8bed\u53e5\uff0c\u786e\u5b9a\u6240\u6709\u9700\u8981\u7684\u6a21\u5757\u548c\u5305\u3002\u5bf9\u4e8e\u4e00\u4e9b\u65e0\u6cd5\u81ea\u52a8\u68c0\u6d4b\u7684\u52a8\u6001\u5bfc\u5165\uff0c\u53ef\u80fd\u9700\u8981\u5728.spec\u6587\u4ef6\u4e2d\u624b\u52a8\u6307\u5b9a\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6253\u5305\u8fc7\u7a0b<\/strong>\uff1aPyInstaller\u4f1a\u5c06\u6240\u6709\u4f9d\u8d56\u9879\u6253\u5305\u5230\u4e00\u4e2a\u6587\u4ef6\u5939\u4e2d\uff0c\u5e76\u5728\u5176\u4e2d\u521b\u5efa\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u8fd8\u5305\u62ec\u5c06Python\u89e3\u91ca\u5668\u672c\u8eab\u6253\u5305\u8fdb\u53bb\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5355\u6587\u4ef6\u6a21\u5f0f<\/strong>\uff1a\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cPyInstaller\u4f1a\u751f\u6210\u591a\u4e2a\u6587\u4ef6\uff0c\u4f46\u53ef\u4ee5\u4f7f\u7528<code>--onefile<\/code>\u9009\u9879\u5c06\u6240\u6709\u5185\u5bb9\u6253\u5305\u6210\u4e00\u4e2a\u5355\u4e00\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5355\u6587\u4ef6\u6a21\u5f0f\u53ef\u80fd\u4f1a\u5bfc\u81f4\u542f\u52a8\u901f\u5ea6\u53d8\u6162\uff0c\u56e0\u4e3a\u6587\u4ef6\u9700\u8981\u5728\u8fd0\u884c\u65f6\u89e3\u538b\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u5e38\u89c1\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u6848<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528PyInstaller\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\uff0c\u5982\u6253\u5305\u540e\u5e94\u7528\u65e0\u6cd5\u8fd0\u884c\u3001\u56fe\u6807\u663e\u793a\u4e0d\u6b63\u786e\u7b49\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u89e3\u51b3\u65b9\u6848\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5e94\u7528\u65e0\u6cd5\u8fd0\u884c<\/strong>\uff1a\u68c0\u67e5\u811a\u672c\u4e2d\u7684\u52a8\u6001\u5bfc\u5165\uff0c\u786e\u4fdd\u6240\u6709\u4f9d\u8d56\u6a21\u5757\u90fd\u88ab\u6b63\u786e\u6253\u5305\u3002\u53ef\u4ee5\u4f7f\u7528.spec\u6587\u4ef6\u624b\u52a8\u6dfb\u52a0\u7f3a\u5931\u7684\u6a21\u5757\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u56fe\u6807\u663e\u793a\u4e0d\u6b63\u786e<\/strong>\uff1a\u786e\u4fdd\u4f7f\u7528\u7684\u56fe\u6807\u6587\u4ef6\u4e3a.ico\u683c\u5f0f\uff0c\u5e76\u4e14\u8def\u5f84\u6b63\u786e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6587\u4ef6\u8fc7\u5927<\/strong>\uff1a\u5982\u679c\u751f\u6210\u7684exe\u6587\u4ef6\u8fc7\u5927\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528<code>--onedir<\/code>\u6a21\u5f0f\uff0c\u53ea\u6253\u5305\u5fc5\u8981\u7684\u6a21\u5757\uff0c\u6216\u8005\u4f7f\u7528UPX\u5bf9\u53ef\u6267\u884c\u6587\u4ef6\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u4f7f\u7528CX_FREEZE\u4e0ePY2EXE<\/p>\n<\/p>\n<p><p>\u9664\u4e86PyInstaller\uff0c\u8fd8\u6709\u5176\u4ed6\u5de5\u5177\u53ef\u4ee5\u5c06Python\u811a\u672c\u8f6c\u6362\u4e3aexe\u6587\u4ef6\uff0c\u5982cx_Freeze\u548cpy2exe\u3002\u8fd9\u4e9b\u5de5\u5177\u5404\u6709\u4f18\u7f3a\u70b9\uff0c\u9009\u62e9\u65f6\u53ef\u4ee5\u6839\u636e\u9879\u76ee\u9700\u6c42\u8fdb\u884c\u9009\u62e9\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>cx_Freeze<\/strong>\uff1a\u4e0ePyInstaller\u7c7b\u4f3c\uff0c\u4f46\u9700\u8981\u624b\u52a8\u521b\u5efasetup\u811a\u672c\uff0c\u9002\u5408\u5bf9\u6253\u5305\u8fc7\u7a0b\u6709\u66f4\u9ad8\u5b9a\u5236\u9700\u6c42\u7684\u7528\u6237\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>py2exe<\/strong>\uff1a\u4e3b\u8981\u7528\u4e8eWindows\u5e73\u53f0\uff0c\u9700\u8981\u624b\u52a8\u7f16\u5199setup\u811a\u672c\uff0c\u652f\u6301\u7684Python\u7248\u672c\u8f83\u4e3a\u6709\u9650\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u6253\u5305\u590d\u6742\u9879\u76ee<\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u5927\u578b\u9879\u76ee\u6216\u5177\u6709\u591a\u4e2a\u6a21\u5757\u548c\u8d44\u6e90\u7684\u590d\u6742\u9879\u76ee\uff0c\u6253\u5305\u8fc7\u7a0b\u53ef\u80fd\u9700\u8981\u66f4\u591a\u7684\u914d\u7f6e\u548c\u8c03\u6574\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u4f18\u5316\u6253\u5305\u8fc7\u7a0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528.spec\u6587\u4ef6<\/strong>\uff1aPyInstaller\u751f\u6210\u7684.spec\u6587\u4ef6\u53ef\u4ee5\u7528\u4e8e\u81ea\u5b9a\u4e49\u6253\u5305\u8fc7\u7a0b\u3002\u4f60\u53ef\u4ee5\u5728\u5176\u4e2d\u6307\u5b9a\u9700\u8981\u6253\u5305\u7684\u6587\u4ef6\u3001\u6a21\u5757\u548c\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5206\u79bb\u8d44\u6e90\u6587\u4ef6<\/strong>\uff1a\u5bf9\u4e8e\u5927\u91cf\u8d44\u6e90\u6587\u4ef6\uff0c\u53ef\u4ee5\u8003\u8651\u5c06\u5176\u5206\u79bb\u5230\u4e00\u4e2a\u72ec\u7acb\u7684\u6587\u4ef6\u5939\u4e2d\uff0c\u5e76\u5728\u8fd0\u884c\u65f6\u52a0\u8f7d\uff0c\u4ee5\u51cf\u5c11exe\u6587\u4ef6\u7684\u5927\u5c0f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6a21\u5757\u6392\u9664<\/strong>\uff1a\u5982\u679c\u67d0\u4e9b\u6a21\u5757\u5728\u6253\u5305\u65f6\u88ab\u9519\u8bef\u5730\u8bc6\u522b\u4e3a\u4f9d\u8d56\u9879\uff0c\u53ef\u4ee5\u5728.spec\u6587\u4ef6\u4e2d\u5c06\u5176\u6392\u9664\uff0c\u4ee5\u51cf\u5c11\u6253\u5305\u4f53\u79ef\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e03\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5c06Python\u811a\u672c\u8f6c\u6362\u4e3aexe\u6587\u4ef6\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u9700\u6c42\uff0c\u5c24\u5176\u662f\u5728\u9700\u8981\u5206\u53d1\u7ed9\u4e0d\u719f\u6089Python\u73af\u5883\u7684\u7528\u6237\u65f6\u3002PyInstaller\u662f\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\u7684\u5f3a\u5927\u5de5\u5177\uff0c\u80fd\u591f\u7b80\u5316\u6253\u5305\u8fc7\u7a0b\uff0c\u751f\u6210\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002\u901a\u8fc7\u638c\u63e1\u5176\u57fa\u672c\u4f7f\u7528\u548c\u9ad8\u7ea7\u9009\u9879\uff0c\u7ed3\u5408\u5176\u4ed6\u5de5\u5177\u548c\u6280\u5de7\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u5c06Python\u5e94\u7528\u7a0b\u5e8f\u5206\u53d1\u7ed9\u6700\u7ec8\u7528\u6237\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u5c06\u811a\u672c\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\uff08.exe\uff09\uff1f<\/strong><br \/>\u8981\u5c06Python\u811a\u672c\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u5de5\u5177\u5982PyInstaller\u6216cx_Freeze\u3002\u8fd9\u4e9b\u5de5\u5177\u4f1a\u5c06Python\u4ee3\u7801\u53ca\u5176\u4f9d\u8d56\u9879\u6253\u5305\u6210\u4e00\u4e2a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u7528\u6237\u65e0\u9700\u5b89\u88c5Python\u73af\u5883\u3002\u5b89\u88c5PyInstaller\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u8fd0\u884c<code>pyinstaller your_script.py<\/code>\u6765\u751f\u6210.exe\u6587\u4ef6\u3002\u751f\u6210\u7684\u6587\u4ef6\u901a\u5e38\u4f4d\u4e8e<code>dist<\/code>\u6587\u4ef6\u5939\u4e2d\u3002<\/p>\n<p><strong>\u751f\u6210\u7684.exe\u6587\u4ef6\u662f\u5426\u53ef\u4ee5\u5728\u6ca1\u6709Python\u73af\u5883\u7684\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884c\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u4f7f\u7528PyInstaller\u7b49\u5de5\u5177\u751f\u6210\u7684.exe\u6587\u4ef6\u662f\u72ec\u7acb\u7684\uff0c\u53ef\u4ee5\u5728\u6ca1\u6709Python\u73af\u5883\u7684\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884c\u3002\u6240\u6709\u5fc5\u8981\u7684Python\u89e3\u91ca\u5668\u548c\u5e93\u90fd\u4f1a\u88ab\u6253\u5305\u5728\u5185\uff0c\u4f7f\u5f97\u7528\u6237\u65e0\u9700\u4efb\u4f55\u989d\u5916\u5b89\u88c5\u5373\u53ef\u4f7f\u7528\u8be5\u7a0b\u5e8f\u3002<\/p>\n<p><strong>\u5728\u8f6c\u6362\u8fc7\u7a0b\u4e2d\u5982\u4f55\u5904\u7406\u5916\u90e8\u8d44\u6e90\u6216\u6587\u4ef6\uff1f<\/strong><br \/>\u5728\u4f7f\u7528PyInstaller\u6216\u5176\u4ed6\u5de5\u5177\u65f6\uff0c\u5982\u679c\u4f60\u7684Python\u811a\u672c\u4f9d\u8d56\u4e8e\u5916\u90e8\u8d44\u6e90\uff08\u5982\u6570\u636e\u6587\u4ef6\u3001\u56fe\u7247\u7b49\uff09\uff0c\u9700\u8981\u5728\u6253\u5305\u65f6\u8fdb\u884c\u7279\u6b8a\u5904\u7406\u3002\u53ef\u4ee5\u901a\u8fc7\u5728.spec\u6587\u4ef6\u4e2d\u6307\u5b9a\u6570\u636e\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u6216\u4f7f\u7528PyInstaller\u7684<code>--add-data<\/code>\u9009\u9879\u6765\u786e\u4fdd\u8fd9\u4e9b\u8d44\u6e90\u88ab\u5305\u542b\u5728\u751f\u6210\u7684.exe\u6587\u4ef6\u4e2d\u3002\u8fd9\u6837\uff0c\u7a0b\u5e8f\u5728\u8fd0\u884c\u65f6\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee\u8fd9\u4e9b\u5916\u90e8\u8d44\u6e90\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5c06Python\u811a\u672c\u751f\u6210exe\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u5de5\u5177\u5982PyInstaller\u3001cx_Freeze\u3001py2exe\u3002\u63a8 [&hellip;]","protected":false},"author":3,"featured_media":947383,"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\/947380"}],"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=947380"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/947380\/revisions"}],"predecessor-version":[{"id":947384,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/947380\/revisions\/947384"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/947383"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=947380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=947380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=947380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}