{"id":949635,"date":"2024-12-27T00:14:44","date_gmt":"2024-12-26T16:14:44","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/949635.html"},"modified":"2024-12-27T00:14:47","modified_gmt":"2024-12-26T16:14:47","slug":"python-%e5%a6%82%e4%bd%95%e8%bf%90%e8%a1%8cpy","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/949635.html","title":{"rendered":"python \u5982\u4f55\u8fd0\u884cpy"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25084538\/a6264ad2-f8a0-4b56-8491-caf25791cee6.webp\" alt=\"python \u5982\u4f55\u8fd0\u884cpy\" \/><\/p>\n<p><p> <strong>\u8981\u8fd0\u884cPython\u6587\u4ef6\uff0c\u60a8\u9700\u8981\u786e\u4fdd\u5df2\u5b89\u88c5Python\u89e3\u91ca\u5668\u3001\u901a\u8fc7\u547d\u4ee4\u884c\u6216\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u6267\u884cPython\u6587\u4ef6\u3001\u7406\u89e3\u5982\u4f55\u8bbe\u7f6ePython\u73af\u5883\u3002\u4ee5\u4e0b\u662f\u4e00\u79cd\u8be6\u7ec6\u7684\u65b9\u6cd5\uff1a\u5b89\u88c5Python\u89e3\u91ca\u5668\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u8fd0\u884c.py\u6587\u4ef6\u3001\u901a\u8fc7IDE\u8fd0\u884cPython\u6587\u4ef6\u3002<\/strong><\/p>\n<\/p>\n<p><p><strong>\u5b89\u88c5Python\u89e3\u91ca\u5668<\/strong><br \/>\u8981\u8fd0\u884c\u4efb\u4f55Python\u811a\u672c\uff0c\u9996\u5148\u9700\u8981\u5728\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5Python\u89e3\u91ca\u5668\u3002Python\u5b98\u65b9\u7f51\u7ad9\uff08python.org\uff09\u63d0\u4f9b\u4e86\u9002\u7528\u4e8e\u5404\u79cd\u64cd\u4f5c\u7cfb\u7edf\uff08Windows\u3001macOS\u3001Linux\uff09\u7684\u5b89\u88c5\u5305\u3002\u4e0b\u8f7d\u5e76\u8fd0\u884c\u9002\u5408\u60a8\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u7a0b\u5e8f\uff0c\u5e76\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9009\u62e9\u201c\u6dfb\u52a0Python\u5230PATH\u201d\u9009\u9879\uff0c\u8fd9\u6837\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u4ece\u547d\u4ee4\u884c\u8fd0\u884cPython\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b89\u88c5Python\u89e3\u91ca\u5668<\/h3>\n<\/p>\n<p><p>Python\u89e3\u91ca\u5668\u662f\u8fd0\u884cPython\u4ee3\u7801\u7684\u6838\u5fc3\u3002\u5b89\u88c5Python\u89e3\u91ca\u5668\u662f\u8fd0\u884cPython\u7a0b\u5e8f\u7684\u7b2c\u4e00\u6b65\uff0c\u4ee5\u4e0b\u662f\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4e0b\u8f7d\u5e76\u5b89\u88c5Python<\/strong>  <\/p>\n<\/p>\n<ul>\n<li>\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff08<a href=\"https:\/\/www.python.org\/%EF%BC%89%E5%B9%B6%E5%AF%BC%E8%88%AA%E5%88%B0%E2%80%9CDownloads%E2%80%9D%E9%83%A8%E5%88%86%E3%80%82%E6%A0%B9%E6%8D%AE%E6%82%A8%E7%9A%84%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E9%80%89%E6%8B%A9%E9%80%82%E5%BD%93%E7%9A%84%E5%AE%89%E8%A3%85%E5%8C%85%E3%80%82\">https:\/\/www.python.org\/\uff09\u5e76\u5bfc\u822a\u5230\u201cDownloads\u201d\u90e8\u5206\u3002\u6839\u636e\u60a8\u7684\u64cd\u4f5c\u7cfb\u7edf\u9009\u62e9\u9002\u5f53\u7684\u5b89\u88c5\u5305\u3002<\/a><\/li>\n<li>Windows\u7528\u6237\uff1a\u4e0b\u8f7d.exe\u5b89\u88c5\u7a0b\u5e8f\u5e76\u8fd0\u884c\u3002\u786e\u4fdd\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9009\u4e2d\u201cAdd Python to PATH\u201d\u9009\u9879\u3002<\/li>\n<li>macOS\u7528\u6237\uff1a\u53ef\u4ee5\u4f7f\u7528Homebrew\uff08\u4e00\u4e2a\u6d41\u884c\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\uff09\u5b89\u88c5Python\uff0c\u547d\u4ee4\u4e3a<code>brew install python<\/code>\u3002<\/li>\n<li>Linux\u7528\u6237\uff1a\u5927\u591a\u6570Linux\u53d1\u884c\u7248\u81ea\u5e26Python\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u5305\u7ba1\u7406\u5668\uff08\u5982apt\u3001yum\uff09\u8fdb\u884c\u5b89\u88c5\u6216\u66f4\u65b0\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u9a8c\u8bc1\u5b89\u88c5<\/strong>  <\/p>\n<\/p>\n<ul>\n<li>\u6253\u5f00\u547d\u4ee4\u884c\uff08Windows\u4f7f\u7528CMD\uff0cmacOS\u548cLinux\u4f7f\u7528\u7ec8\u7aef\uff09\u3002<\/li>\n<li>\u8f93\u5165<code>python --version<\/code>\u6216<code>python3 --version<\/code>\u4ee5\u786e\u8ba4\u5b89\u88c5\u6210\u529f\u3002\u60a8\u5e94\u8be5\u770b\u5230Python\u7248\u672c\u53f7\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/strong>  <\/p>\n<\/p>\n<ul>\n<li>\u5982\u679c\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u672a\u6dfb\u52a0Python\u5230PATH\uff0c\u53ef\u4ee5\u624b\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3002\u8fd9\u6837\u53ef\u4ee5\u5728\u4efb\u4f55\u76ee\u5f55\u4e0b\u76f4\u63a5\u4f7f\u7528<code>python<\/code>\u547d\u4ee4\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u8fd0\u884c.py\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528\u547d\u4ee4\u884c\u662f\u8fd0\u884cPython\u811a\u672c\u7684\u4e00\u79cd\u76f4\u63a5\u65b9\u6cd5\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u4f7f\u7528\u547d\u4ee4\u884c\u8fd0\u884cPython\u6587\u4ef6\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00\u547d\u4ee4\u884c<\/strong>  <\/p>\n<\/p>\n<ul>\n<li>Windows\u7528\u6237\uff1a\u6309<code>Win + R<\/code>\uff0c\u8f93\u5165<code>cmd<\/code>\u5e76\u6309Enter\u3002<\/li>\n<li>macOS\u548cLinux\u7528\u6237\uff1a\u6253\u5f00\u201cTerminal\u201d\u5e94\u7528\u7a0b\u5e8f\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5bfc\u822a\u5230\u811a\u672c\u6240\u5728\u76ee\u5f55<\/strong>  <\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528<code>cd<\/code>\u547d\u4ee4\uff08change directory\uff09\u5bfc\u822a\u5230\u5305\u542bPython\u811a\u672c\u7684\u76ee\u5f55\u3002\u4f8b\u5982\uff0c<code>cd path\/to\/your\/script<\/code>\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884cPython\u811a\u672c<\/strong>  <\/p>\n<\/p>\n<ul>\n<li>\u8f93\u5165<code>python scriptname.py<\/code>\u6216<code>python3 scriptname.py<\/code>\uff0c\u5176\u4e2d<code>scriptname.py<\/code>\u662f\u60a8\u8981\u8fd0\u884c\u7684Python\u6587\u4ef6\u7684\u540d\u79f0\u3002\u6309Enter\u952e\uff0cPython\u89e3\u91ca\u5668\u5c06\u5f00\u59cb\u6267\u884c\u8be5\u811a\u672c\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u67e5\u770b\u8f93\u51fa<\/strong>  <\/p>\n<\/p>\n<ul>\n<li>\u5982\u679c\u60a8\u7684\u811a\u672c\u5305\u542b<code>print<\/code>\u8bed\u53e5\u6216\u5176\u4ed6\u8f93\u51fa\u6307\u4ee4\uff0c\u8f93\u51fa\u5c06\u663e\u793a\u5728\u547d\u4ee4\u884c\u7a97\u53e3\u4e2d\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u901a\u8fc7IDE\u8fd0\u884cPython\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>IDE\uff08\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff09\u4e3a\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u63d0\u4f9b\u4e86\u4e00\u4e2a\u66f4\u52a0\u7528\u6237\u53cb\u597d\u7684\u754c\u9762\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u6d41\u884c\u7684Python IDE\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u4eec\u6765\u8fd0\u884cPython\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>PyCharm<\/strong>  <\/p>\n<\/p>\n<ul>\n<li>\u4e0b\u8f7d\u5e76\u5b89\u88c5PyCharm\uff08\u793e\u533a\u7248\u662f\u514d\u8d39\u7684\uff09\u3002<\/li>\n<li>\u521b\u5efa\u4e00\u4e2a\u65b0\u9879\u76ee\u6216\u6253\u5f00\u73b0\u6709\u9879\u76ee\u3002<\/li>\n<li>\u5728PyCharm\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\uff0c\u6216\u6253\u5f00\u73b0\u6709\u7684<code>.py<\/code>\u6587\u4ef6\u3002<\/li>\n<li>\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u7eff\u8272\u4e09\u89d2\u5f62\u6309\u94ae\u6216\u4f7f\u7528\u5feb\u6377\u952e\uff08Shift + F10\uff09\u8fd0\u884c\u6587\u4ef6\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Visual Studio Code<\/strong>  <\/p>\n<\/p>\n<ul>\n<li>\u5b89\u88c5Visual Studio Code\u548cPython\u6269\u5c55\u3002<\/li>\n<li>\u6253\u5f00Python\u6587\u4ef6\u3002<\/li>\n<li>\u4f7f\u7528\u5feb\u6377\u952e<code>Ctrl + F5<\/code>\u8fd0\u884c\u6587\u4ef6\uff0c\u6216\u901a\u8fc7\u201cRun\u201d\u83dc\u5355\u9009\u62e9\u201cRun Without Debugging\u201d\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Jupyter Notebook<\/strong>  <\/p>\n<\/p>\n<ul>\n<li>Jupyter Notebook\u9002\u7528\u4e8e\u9700\u8981\u4ea4\u4e92\u5f0f\u8fd0\u884cPython\u4ee3\u7801\u7684\u60c5\u51b5\u3002<\/li>\n<li>\u5b89\u88c5Jupyter Notebook\uff08\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4<code>pip install notebook<\/code>\uff09\u3002<\/li>\n<li>\u8fd0\u884c\u547d\u4ee4<code>jupyter notebook<\/code>\u4ee5\u542f\u52a8\u6d4f\u89c8\u5668\u754c\u9762\uff0c\u7136\u540e\u521b\u5efa\u6216\u6253\u5f00\u4e00\u4e2a<code>.ipynb<\/code>\u6587\u4ef6\u3002<\/li>\n<li>\u5728\u5355\u5143\u683c\u4e2d\u8f93\u5165Python\u4ee3\u7801\u5e76\u6309Shift + Enter\u8fd0\u884c\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u7406\u89e3\u5982\u4f55\u8bbe\u7f6ePython\u73af\u5883<\/h3>\n<\/p>\n<p><p>\u4e3aPython\u9879\u76ee\u8bbe\u7f6e\u5408\u9002\u7684\u73af\u5883\u662f\u786e\u4fdd\u4ee3\u7801\u5728\u4e0d\u540c\u673a\u5668\u4e0a\u8fd0\u884c\u4e00\u81f4\u7684\u5173\u952e\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u8bbe\u7f6ePython\u73af\u5883\u7684\u6280\u5de7\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528\u865a\u62df\u73af\u5883<\/strong>  <\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528\u865a\u62df\u73af\u5883\u53ef\u4ee5\u9694\u79bb\u9879\u76ee\u7684\u4f9d\u8d56\u5305\uff0c\u907f\u514d\u4e0e\u7cfb\u7edf\u5168\u5c40\u5305\u53d1\u751f\u51b2\u7a81\u3002<\/li>\n<li>\u521b\u5efa\u865a\u62df\u73af\u5883\u7684\u547d\u4ee4\u4e3a<code>python -m venv envname<\/code>\u3002<\/li>\n<li>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff08Windows\u4f7f\u7528<code>envname\\Scripts\\activate<\/code>\uff0cmacOS\u548cLinux\u4f7f\u7528<code>source envname\/bin\/activate<\/code>\uff09\u3002<\/li>\n<li>\u5728\u865a\u62df\u73af\u5883\u4e2d\u5b89\u88c5\u9879\u76ee\u6240\u9700\u7684\u5305\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7ba1\u7406\u4f9d\u8d56\u5305<\/strong>  <\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528<code>pip<\/code>\u6765\u5b89\u88c5\u548c\u7ba1\u7406Python\u5305\u3002\u4f8b\u5982\uff0c<code>pip install packagename<\/code>\u3002<\/li>\n<li>\u4f7f\u7528<code>requirements.txt<\/code>\u6587\u4ef6\u8bb0\u5f55\u9879\u76ee\u7684\u4f9d\u8d56\u5305\u3002\u53ef\u4ee5\u901a\u8fc7<code>pip freeze &gt; requirements.txt<\/code>\u751f\u6210\u3002<\/li>\n<li>\u901a\u8fc7<code>pip install -r requirements.txt<\/code>\u5b89\u88c5<code>requirements.txt<\/code>\u4e2d\u5217\u51fa\u7684\u6240\u6709\u4f9d\u8d56\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528Docker<\/strong>  <\/p>\n<\/p>\n<ul>\n<li>Docker\u63d0\u4f9b\u4e86\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u5bb9\u5668\u5316\u89e3\u51b3\u65b9\u6848\uff0c\u786e\u4fddPython\u5e94\u7528\u53ef\u4ee5\u5728\u4efb\u4f55\u73af\u5883\u4e2d\u4e00\u81f4\u5730\u8fd0\u884c\u3002<\/li>\n<li>\u7f16\u5199Dockerfile\u5b9a\u4e49\u5e94\u7528\u7684\u8fd0\u884c\u73af\u5883\uff0c\u5e76\u4f7f\u7528\u547d\u4ee4<code>docker build<\/code>\u548c<code>docker run<\/code>\u6784\u5efa\u548c\u8fd0\u884c\u5bb9\u5668\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\u548c\u6280\u5de7\uff0c\u60a8\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u73af\u5883\u4e2d\u8f7b\u677e\u8fd0\u884cPython\u6587\u4ef6\uff0c\u5e76\u4e14\u5177\u5907\u7ba1\u7406\u548c\u914d\u7f6ePython\u5f00\u53d1\u73af\u5883\u7684\u80fd\u529b\u3002\u65e0\u8bba\u662f\u521d\u5b66\u8005\u8fd8\u662f\u6709\u7ecf\u9a8c\u7684\u5f00\u53d1\u8005\uff0c\u638c\u63e1\u8fd9\u4e9b\u57fa\u672c\u64cd\u4f5c\u90fd\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884cPython\u811a\u672c\uff1f<\/strong><br \/>\u5728Windows\u3001macOS\u548cLinux\u7b49\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u8fd0\u884cPython\u811a\u672c\u7684\u65b9\u6cd5\u7565\u6709\u4e0d\u540c\u3002\u5728Windows\u4e0a\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\uff08CMD\uff09\u6216PowerShell\uff0c\u8f93\u5165<code>python script.py<\/code>\u6765\u8fd0\u884c\u60a8\u7684\u811a\u672c\u3002\u5728macOS\u548cLinux\u4e2d\uff0c\u6253\u5f00\u7ec8\u7aef\u5e76\u4f7f\u7528\u540c\u6837\u7684\u547d\u4ee4\u3002\u786e\u4fdd\u60a8\u5df2\u5b89\u88c5Python\u5e76\u6b63\u786e\u914d\u7f6e\u4e86\u73af\u5883\u53d8\u91cf\u3002<\/p>\n<p><strong>\u6211\u8be5\u5982\u4f55\u5904\u7406Python\u811a\u672c\u4e2d\u7684\u9519\u8bef\uff1f<\/strong><br \/>\u5728\u8fd0\u884cPython\u811a\u672c\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u9519\u8bef\u3002\u4f7f\u7528<code>try<\/code>\u548c<code>except<\/code>\u8bed\u53e5\u53ef\u4ee5\u6355\u83b7\u548c\u5904\u7406\u5f02\u5e38\uff0c\u5e2e\u52a9\u60a8\u7406\u89e3\u51fa\u9519\u7684\u539f\u56e0\u3002\u6b64\u5916\uff0c\u67e5\u770b\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u7684\u9519\u8bef\u6d88\u606f\uff0c\u901a\u5e38\u4f1a\u63d0\u4f9b\u6709\u5173\u95ee\u9898\u7684\u7ebf\u7d22\u3002\u8c03\u8bd5\u5de5\u5177\u5982PDB\uff08Python Debugger\uff09\u4e5f\u975e\u5e38\u6709\u7528\uff0c\u53ef\u4ee5\u9010\u6b65\u6267\u884c\u4ee3\u7801\u5e76\u68c0\u67e5\u53d8\u91cf\u7684\u72b6\u6001\u3002<\/p>\n<p><strong>\u662f\u5426\u9700\u8981\u5b89\u88c5\u989d\u5916\u7684\u5e93\u624d\u80fd\u8fd0\u884c\u67d0\u4e9bPython\u811a\u672c\uff1f<\/strong><br \/>\u6709\u4e9bPython\u811a\u672c\u4f9d\u8d56\u4e8e\u7279\u5b9a\u7684\u7b2c\u4e09\u65b9\u5e93\u3002\u5982\u679c\u60a8\u7684\u811a\u672c\u5728\u8fd0\u884c\u65f6\u63d0\u793a\u7f3a\u5c11\u6a21\u5757\uff0c\u53ef\u4ee5\u901a\u8fc7Python\u7684\u5305\u7ba1\u7406\u5de5\u5177<code>pip<\/code>\u5b89\u88c5\u6240\u9700\u7684\u5e93\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u547d\u4ee4<code>pip install library_name<\/code>\u6765\u5b89\u88c5\u7f3a\u5931\u7684\u5e93\u3002\u786e\u4fdd\u60a8\u5728\u8fd0\u884c\u811a\u672c\u4e4b\u524d\u68c0\u67e5\u9700\u6c42\u6587\u4ef6\uff08\u5982requirements.txt\uff09\uff0c\u4ee5\u4e86\u89e3\u6240\u9700\u7684\u6240\u6709\u4f9d\u8d56\u9879\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u8fd0\u884cPython\u6587\u4ef6\uff0c\u60a8\u9700\u8981\u786e\u4fdd\u5df2\u5b89\u88c5Python\u89e3\u91ca\u5668\u3001\u901a\u8fc7\u547d\u4ee4\u884c\u6216\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u6267\u884cPython [&hellip;]","protected":false},"author":3,"featured_media":949641,"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\/949635"}],"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=949635"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/949635\/revisions"}],"predecessor-version":[{"id":949642,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/949635\/revisions\/949642"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/949641"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=949635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=949635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=949635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}