{"id":986676,"date":"2024-12-27T07:47:04","date_gmt":"2024-12-26T23:47:04","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/986676.html"},"modified":"2024-12-27T07:47:06","modified_gmt":"2024-12-26T23:47:06","slug":"vscode%e4%b8%ad%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/986676.html","title":{"rendered":"vscode\u4e2d\u5982\u4f55\u4f7f\u7528python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25063147\/c4dfe582-51cd-462f-9ceb-e3ad5d79e8c5.webp\" alt=\"vscode\u4e2d\u5982\u4f55\u4f7f\u7528python\" \/><\/p>\n<p><p> \u5728VSCode\u4e2d\u4f7f\u7528Python\uff0c\u9996\u5148\u9700\u8981\u786e\u4fdd\u73af\u5883\u8bbe\u7f6e\u6b63\u786e\u5e76\u5b89\u88c5\u5fc5\u8981\u7684\u6269\u5c55\u548c\u5de5\u5177\u3002<strong>\u5b89\u88c5Python\u3001\u5b89\u88c5Python\u6269\u5c55\u3001\u914d\u7f6ePython\u89e3\u91ca\u5668\u3001\u521b\u5efa\u548c\u8fd0\u884cPython\u6587\u4ef6\u3001\u8c03\u8bd5Python\u4ee3\u7801\u3001\u4f7f\u7528\u865a\u62df\u73af\u5883<\/strong>\u3002\u4ee5\u4e0b\u662f\u5173\u4e8e\u5982\u4f55\u5728VSCode\u4e2d\u9ad8\u6548\u4f7f\u7528Python\u7684\u8be6\u7ec6\u8bf4\u660e\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b89\u88c5Python<\/h3>\n<\/p>\n<p><p>\u8981\u5728VSCode\u4e2d\u4f7f\u7528Python\uff0c\u9996\u5148\u9700\u8981\u5728\u7cfb\u7edf\u4e2d\u5b89\u88c5Python\u89e3\u91ca\u5668\u3002Python\u5b98\u65b9\u7f51\u7ad9\u63d0\u4f9b\u4e86\u6700\u65b0\u7248\u672c\u7684Python\u4e0b\u8f7d\uff0c\u5e76\u4e14\u652f\u6301\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5305\u62ecWindows\u3001macOS\u548cLinux\u3002\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u8bf7\u786e\u4fdd\u52fe\u9009\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u8fd9\u5c06\u4f7fPython\u547d\u4ee4\u5728\u547d\u4ee4\u884c\u4e2d\u53ef\u7528\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u5b89\u88c5Python\u6269\u5c55<\/h3>\n<\/p>\n<p><p>\u5728VSCode\u4e2d\uff0cPython\u652f\u6301\u901a\u8fc7\u5b98\u65b9\u7684Python\u6269\u5c55\u6765\u5b9e\u73b0\u3002\u4ee5\u4e0b\u662f\u5b89\u88c5\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00VSCode\uff0c\u70b9\u51fb\u5de6\u4fa7\u7684\u6269\u5c55\u56fe\u6807\uff08\u56db\u65b9\u5f62\u56fe\u6807\uff09\u3002<\/li>\n<li>\u5728\u641c\u7d22\u680f\u4e2d\u8f93\u5165\u201cPython\u201d\uff0c\u627e\u5230\u7531Microsoft\u53d1\u5e03\u7684Python\u6269\u5c55\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u5b89\u88c5\u201d\u6309\u94ae\u8fdb\u884c\u5b89\u88c5\u3002<\/li>\n<\/ol>\n<p><p><strong>Python\u6269\u5c55\u63d0\u4f9b\u4e86\u8bed\u6cd5\u9ad8\u4eae\u3001\u4ee3\u7801\u81ea\u52a8\u5b8c\u6210\u3001\u8c03\u8bd5\u652f\u6301\u3001\u4ee3\u7801\u7247\u6bb5\u7b49\u529f\u80fd\uff0c\u662f\u4f7f\u7528Python\u8fdb\u884c\u5f00\u53d1\u7684\u6838\u5fc3\u5de5\u5177\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u914d\u7f6ePython\u89e3\u91ca\u5668<\/h3>\n<\/p>\n<p><p>\u5728VSCode\u4e2d\u914d\u7f6ePython\u89e3\u91ca\u5668\u662f\u81f3\u5173\u91cd\u8981\u7684\u4e00\u6b65\uff0c\u56e0\u4e3a\u5b83\u51b3\u5b9a\u4e86\u4ee3\u7801\u8fd0\u884c\u65f6\u4f7f\u7528\u7684Python\u7248\u672c\u3002<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u4e00\u4e2aPython\u6587\u4ef6\u3002<\/li>\n<li>\u5728VSCode\u5e95\u90e8\u7684\u72b6\u6001\u680f\u4e2d\uff0c\u70b9\u51fb\u201cPython\u201d\u5b57\u6837\u3002<\/li>\n<li>\u5728\u5f39\u51fa\u7684\u9009\u62e9\u5668\u4e2d\uff0c\u9009\u62e9\u4f60\u5e0c\u671b\u4f7f\u7528\u7684Python\u89e3\u91ca\u5668\u3002<\/li>\n<\/ol>\n<p><p><strong>\u786e\u4fdd\u9009\u62e9\u6b63\u786e\u7684Python\u89e3\u91ca\u5668\uff0c\u7279\u522b\u662f\u5728\u9879\u76ee\u4e2d\u4f7f\u7528\u4e86\u865a\u62df\u73af\u5883\u65f6\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u56db\u3001\u521b\u5efa\u548c\u8fd0\u884cPython\u6587\u4ef6<\/h3>\n<\/p>\n<ol>\n<li>\u5728VSCode\u4e2d\uff0c\u6253\u5f00\u6216\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\uff0c\u6587\u4ef6\u6269\u5c55\u540d\u4e3a\u201c.py\u201d\u3002<\/li>\n<li>\u8f93\u5165Python\u4ee3\u7801\u3002<\/li>\n<li>\u4fdd\u5b58\u6587\u4ef6\uff08Ctrl+S\uff09\u3002<\/li>\n<li>\u8fd0\u884c\u4ee3\u7801\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff1a\n<ul>\n<li>\u76f4\u63a5\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884c\uff1a\u6253\u5f00VSCode\u7684\u7ec8\u7aef\uff08Ctrl+<code>\uff09\uff0c\u8f93\u5165<\/code>python filename.py`\u3002<\/li>\n<li>\u4f7f\u7528Python\u6269\u5c55\u63d0\u4f9b\u7684\u8fd0\u884c\u6309\u94ae\uff1a\u5728\u7f16\u8f91\u5668\u53f3\u4e0a\u89d2\u70b9\u51fb\u201cRun Python File\u201d\u6309\u94ae\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p><strong>\u8fd9\u79cd\u65b9\u5f0f\u4fbf\u4e8e\u5feb\u901f\u6d4b\u8bd5\u548c\u8fd0\u884c\u5c0f\u6bb5\u4ee3\u7801\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u8c03\u8bd5Python\u4ee3\u7801<\/h3>\n<\/p>\n<p><p>VSCode\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u8c03\u8bd5\u529f\u80fd\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u5b9a\u4f4d\u548c\u4fee\u590d\u95ee\u9898\u3002<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u9700\u8981\u8c03\u8bd5\u7684Python\u6587\u4ef6\u3002<\/li>\n<li>\u70b9\u51fb\u5de6\u4fa7\u6d3b\u52a8\u680f\u4e2d\u7684\u8c03\u8bd5\u56fe\u6807\u3002<\/li>\n<li>\u8bbe\u7f6e\u65ad\u70b9\uff1a\u5728\u4ee3\u7801\u884c\u53f7\u5de6\u4fa7\u70b9\u51fb\u5373\u53ef\u8bbe\u7f6e\u65ad\u70b9\u3002<\/li>\n<li>\u70b9\u51fb\u9876\u90e8\u7684\u201c\u5f00\u59cb\u8c03\u8bd5\u201d\uff08\u7eff\u8272\u4e09\u89d2\u5f62\uff09\u6309\u94ae\u3002<\/li>\n<li>\u5728\u8c03\u8bd5\u63a7\u5236\u53f0\u4e2d\uff0c\u53ef\u4ee5\u67e5\u770b\u53d8\u91cf\u3001\u8c03\u7528\u5806\u6808\u3001\u8868\u8fbe\u5f0f\u7b49\u4fe1\u606f\u3002<\/li>\n<\/ol>\n<p><p><strong>\u4f7f\u7528\u8c03\u8bd5\u529f\u80fd\u80fd\u591f\u5927\u5927\u63d0\u9ad8\u4ee3\u7801\u8d28\u91cf\u548c\u5f00\u53d1\u6548\u7387\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u516d\u3001\u4f7f\u7528\u865a\u62df\u73af\u5883<\/h3>\n<\/p>\n<p><p>\u865a\u62df\u73af\u5883\u53ef\u4ee5\u4e3a\u6bcf\u4e2a\u9879\u76ee\u521b\u5efa\u72ec\u7acb\u7684Python\u73af\u5883\uff0c\u907f\u514d\u4e0d\u540c\u9879\u76ee\u4e4b\u95f4\u7684\u4f9d\u8d56\u51b2\u7a81\u3002<\/p>\n<\/p>\n<ol>\n<li>\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a\u5728\u9879\u76ee\u76ee\u5f55\u4e0b\uff0c\u8fd0\u884c<code>python -m venv venv<\/code>\u3002<\/li>\n<li>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff1a\n<ul>\n<li>Windows\uff1a\u8fd0\u884c<code>venv\\Scripts\\activate<\/code><\/li>\n<li>macOS\/Linux\uff1a\u8fd0\u884c<code>source venv\/bin\/activate<\/code><\/li>\n<\/ul>\n<\/li>\n<li>\u5728VSCode\u4e2d\uff0c\u786e\u4fdd\u9009\u62e9\u4e86\u865a\u62df\u73af\u5883\u7684Python\u89e3\u91ca\u5668\u3002<\/li>\n<\/ol>\n<p><p><strong>\u4f7f\u7528\u865a\u62df\u73af\u5883\u53ef\u4ee5\u786e\u4fdd\u9879\u76ee\u4f9d\u8d56\u7684\u4e00\u81f4\u6027\u548c\u9694\u79bb\u6027\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u5b89\u88c5\u548c\u7ba1\u7406\u4f9d\u8d56<\/h3>\n<\/p>\n<p><p>\u5728\u5f00\u53d1Python\u9879\u76ee\u65f6\uff0c\u7ba1\u7406\u4f9d\u8d56\u5e93\u662f\u4e0d\u53ef\u907f\u514d\u7684\u4efb\u52a1\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5728\u6fc0\u6d3b\u7684\u865a\u62df\u73af\u5883\u4e2d\uff0c\u4f7f\u7528<code>pip install package_name<\/code>\u5b89\u88c5\u6240\u9700\u7684\u5e93\u3002<\/li>\n<li>\u4f7f\u7528<code>pip freeze &gt; requirements.txt<\/code>\u547d\u4ee4\u5c06\u5f53\u524d\u73af\u5883\u4e2d\u7684\u6240\u6709\u4f9d\u8d56\u5bfc\u51fa\u5230<code>requirements.txt<\/code>\u6587\u4ef6\u3002<\/li>\n<li>\u5728\u5176\u4ed6\u73af\u5883\u4e2d\uff0c\u4f7f\u7528<code>pip install -r requirements.txt<\/code>\u5b89\u88c5\u6240\u6709\u4f9d\u8d56\u3002<\/li>\n<\/ol>\n<p><p><strong>\u826f\u597d\u7684\u4f9d\u8d56\u7ba1\u7406\u80fd\u591f\u786e\u4fdd\u9879\u76ee\u5728\u4e0d\u540c\u73af\u5883\u4e2d\u4e00\u81f4\u8fd0\u884c\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u516b\u3001\u4ee3\u7801\u683c\u5f0f\u5316\u548c\u9759\u6001\u68c0\u67e5<\/h3>\n<\/p>\n<p><p>VSCode\u652f\u6301\u591a\u79cd\u4ee3\u7801\u683c\u5f0f\u5316\u5de5\u5177\u548c\u9759\u6001\u68c0\u67e5\u5de5\u5177\uff0c\u5982Black\u3001Flake8\u548cPylint\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5b89\u88c5\u683c\u5f0f\u5316\u5de5\u5177\uff1a<code>pip install black<\/code>\u3002<\/li>\n<li>\u5728VSCode\u8bbe\u7f6e\u4e2d\uff0c\u6307\u5b9a\u4ee3\u7801\u683c\u5f0f\u5316\u7a0b\u5e8f\u4e3aBlack\u3002<\/li>\n<li>\u4f7f\u7528Flake8\u6216Pylint\u8fdb\u884c\u4ee3\u7801\u9759\u6001\u68c0\u67e5\uff1a<code>pip install flake8 pylint<\/code>\u3002<\/li>\n<\/ol>\n<p><p><strong>\u4ee3\u7801\u683c\u5f0f\u5316\u548c\u9759\u6001\u68c0\u67e5\u80fd\u591f\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u9760\u6027\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e5d\u3001\u4f7f\u7528Jupyter Notebook<\/h3>\n<\/p>\n<p><p>Python\u6269\u5c55\u540c\u6837\u652f\u6301Jupyter Notebook\uff0c\u9002\u5408\u4e8e\u6570\u636e\u79d1\u5b66\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u9879\u76ee\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5b89\u88c5Jupyter\uff1a<code>pip install jupyter<\/code>\u3002<\/li>\n<li>\u5728VSCode\u4e2d\uff0c\u521b\u5efa\u4e00\u4e2a<code>.ipynb<\/code>\u6587\u4ef6\u3002<\/li>\n<li>\u4f7f\u7528\u5185\u7f6e\u7684Jupyter\u73af\u5883\u8fdb\u884c\u4ea4\u4e92\u5f0f\u7f16\u7a0b\u3002<\/li>\n<\/ol>\n<p><p><strong>Jupyter Notebook\u63d0\u4f9b\u4e86\u4e00\u79cd\u76f4\u89c2\u7684\u65b9\u5f0f\u6765\u5c55\u793a\u6570\u636e\u5206\u6790\u548c\u53ef\u89c6\u5316\u7ed3\u679c\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u5341\u3001\u7248\u672c\u63a7\u5236\u548c\u534f\u4f5c<\/h3>\n<\/p>\n<p><p>VSCode\u4e0eGit\u96c6\u6210\u826f\u597d\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u7248\u672c\u63a7\u5236\u548c\u56e2\u961f\u534f\u4f5c\u3002<\/p>\n<\/p>\n<ol>\n<li>\u521d\u59cb\u5316Git\u4ed3\u5e93\uff1a\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884c<code>git init<\/code>\u3002<\/li>\n<li>\u4f7f\u7528Git\u6269\u5c55\u8fdb\u884c\u4ee3\u7801\u63d0\u4ea4\u3001\u5206\u652f\u7ba1\u7406\u7b49\u64cd\u4f5c\u3002<\/li>\n<li>\u7ed3\u5408GitHub\u7b49\u5e73\u53f0\u8fdb\u884c\u8fdc\u7a0b\u534f\u4f5c\u3002<\/li>\n<\/ol>\n<p><p><strong>\u7248\u672c\u63a7\u5236\u662f\u73b0\u4ee3\u8f6f\u4ef6\u5f00\u53d1\u6d41\u7a0b\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u90e8\u5206\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0cVSCode\u4e3aPython\u5f00\u53d1\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u652f\u6301\u548c\u529f\u80fd\uff0c\u80fd\u591f\u5927\u5927\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u548c\u4ee3\u7801\u8d28\u91cf\u3002\u901a\u8fc7\u5408\u7406\u914d\u7f6e\u548c\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u66f4\u52a0\u4e13\u6ce8\u4e8e\u89e3\u51b3\u5b9e\u9645\u95ee\u9898\u548c\u521b\u65b0\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728VSCode\u4e2d\u5982\u4f55\u5b89\u88c5Python\u6269\u5c55\uff1f<\/strong><br \/>\u8981\u5728VSCode\u4e2d\u4f7f\u7528Python\uff0c\u9996\u5148\u9700\u8981\u786e\u4fdd\u5df2\u5b89\u88c5Python\u3002\u63a5\u7740\uff0c\u6253\u5f00VSCode\uff0c\u70b9\u51fb\u5de6\u4fa7\u7684\u6269\u5c55\u56fe\u6807\uff08\u6216\u6309\u4e0bCtrl+Shift+X\uff09\uff0c\u5728\u641c\u7d22\u6846\u4e2d\u8f93\u5165\u201cPython\u201d\u3002\u627e\u5230\u7531Microsoft\u53d1\u5e03\u7684Python\u6269\u5c55\uff0c\u70b9\u51fb\u201c\u5b89\u88c5\u201d\u6309\u94ae\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u91cd\u542fVSCode\u4ee5\u786e\u4fdd\u6269\u5c55\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728VSCode\u4e2d\u914d\u7f6ePython\u73af\u5883\uff1f<\/strong><br \/>\u5728VSCode\u4e2d\u914d\u7f6ePython\u73af\u5883\u975e\u5e38\u7b80\u5355\u3002\u6253\u5f00\u4e00\u4e2aPython\u9879\u76ee\u6216\u6587\u4ef6\uff0c\u70b9\u51fb\u53f3\u4e0b\u89d2\u7684Python\u7248\u672c\u4fe1\u606f\uff0c\u8fd9\u5c06\u663e\u793a\u53ef\u7528\u7684Python\u89e3\u91ca\u5668\u5217\u8868\u3002\u9009\u62e9\u9002\u5408\u4f60\u9879\u76ee\u7684\u89e3\u91ca\u5668\u3002\u5982\u679c\u4f60\u4f7f\u7528\u865a\u62df\u73af\u5883\uff08\u5982venv\u6216conda\uff09\uff0c\u786e\u4fdd\u5df2\u6fc0\u6d3b\u8be5\u73af\u5883\u5e76\u9009\u62e9\u5bf9\u5e94\u7684\u89e3\u91ca\u5668\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728VSCode\u4e2d\u8fd0\u884cPython\u4ee3\u7801\uff1f<\/strong><br \/>\u8fd0\u884cPython\u4ee3\u7801\u6709\u591a\u79cd\u65b9\u5f0f\u3002\u5728\u7f16\u8f91\u5668\u4e2d\u6253\u5f00\u4f60\u7684Python\u6587\u4ef6\u540e\uff0c\u53ef\u4ee5\u53f3\u952e\u70b9\u51fb\u5e76\u9009\u62e9\u201c\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884cPython\u6587\u4ef6\u201d\uff0c\u6216\u4f7f\u7528\u5feb\u6377\u952eCtrl+F5\u3002\u4e5f\u53ef\u4ee5\u5728\u7ec8\u7aef\u4e2d\u76f4\u63a5\u8f93\u5165<code>python \u6587\u4ef6\u540d.py<\/code>\u6765\u8fd0\u884c\u4ee3\u7801\u3002\u6b64\u5916\uff0c\u4f7f\u7528\u201cRun Python File\u201d\u6309\u94ae\u4e5f\u80fd\u5feb\u901f\u6267\u884c\u5f53\u524d\u7684Python\u811a\u672c\u3002 <\/p>\n<p><strong>\u5982\u4f55\u8c03\u8bd5Python\u4ee3\u7801\uff1f<\/strong><br \/>\u5728VSCode\u4e2d\u8c03\u8bd5Python\u4ee3\u7801\u5f88\u65b9\u4fbf\u3002\u4f60\u53ef\u4ee5\u5728\u4ee3\u7801\u884c\u53f7\u65c1\u8fb9\u70b9\u51fb\u8bbe\u7f6e\u65ad\u70b9\u3002\u7136\u540e\uff0c\u4f7f\u7528\u8c03\u8bd5\u9762\u677f\uff08\u4fa7\u8fb9\u680f\u4e2d\u7684\u201c\u8fd0\u884c\u548c\u8c03\u8bd5\u201d\u56fe\u6807\uff09\u5e76\u9009\u62e9\u201c\u542f\u52a8\u8c03\u8bd5\u201d\u8fdb\u884c\u8c03\u8bd5\u3002\u8c03\u8bd5\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u67e5\u770b\u53d8\u91cf\u503c\u3001\u8c03\u7528\u6808\u548c\u63a7\u5236\u7a0b\u5e8f\u6267\u884c\uff0c\u5e2e\u52a9\u4f60\u66f4\u6709\u6548\u5730\u6392\u67e5\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728VSCode\u4e2d\u4f7f\u7528Python\uff0c\u9996\u5148\u9700\u8981\u786e\u4fdd\u73af\u5883\u8bbe\u7f6e\u6b63\u786e\u5e76\u5b89\u88c5\u5fc5\u8981\u7684\u6269\u5c55\u548c\u5de5\u5177\u3002\u5b89\u88c5Python\u3001\u5b89\u88c5Pyt [&hellip;]","protected":false},"author":3,"featured_media":986688,"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\/986676"}],"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=986676"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/986676\/revisions"}],"predecessor-version":[{"id":986690,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/986676\/revisions\/986690"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/986688"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=986676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=986676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=986676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}