{"id":175872,"date":"2024-05-08T18:59:40","date_gmt":"2024-05-08T10:59:40","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/175872.html"},"modified":"2024-05-08T18:59:46","modified_gmt":"2024-05-08T10:59:46","slug":"%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85python%e7%9a%84%e6%96%87%e6%9c%ac%e7%bc%96%e8%be%91%e5%99%a8%ef%bc%88%e6%96%b0%e4%ba%ba%e6%9c%80%e5%a5%bd%e6%9c%89%e5%9b%be%e6%96%87%e8%a7%a3%e9%87%8a%ef%bc%89","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/175872.html","title":{"rendered":"\u5982\u4f55\u5b89\u88c5python\u7684\u6587\u672c\u7f16\u8f91\u5668\uff08\u65b0\u4eba\u6700\u597d\u6709\u56fe\u6587\u89e3\u91ca\uff09"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27053945\/fcb90c44-3556-4b68-bd82-4b9dd8411b92.webp\" alt=\"\u5982\u4f55\u5b89\u88c5python\u7684\u6587\u672c\u7f16\u8f91\u5668\uff08\u65b0\u4eba\u6700\u597d\u6709\u56fe\u6587\u89e3\u91ca\uff09\" \/><\/p>\n<p><p><strong>Python\u7684\u6587\u672c\u7f16\u8f91\u5668\u901a\u5e38\u6307\u7684\u662f\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u6216\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u8fd9\u4e9b\u5de5\u5177\u53ef\u4ee5\u4e3a\u7f16\u7a0b\u63d0\u4f9b\u4fbf\u5229\u7684\u7f16\u8f91\u548c\u8c03\u8bd5\u529f\u80fd\u3002\u65b0\u4eba\u5b89\u88c5Python\u6587\u672c\u7f16\u8f91\u5668\u7684\u901a\u7528\u6d41\u7a0b\u5305\u62ec\u4e0b\u8f7d\u3001\u5b89\u88c5\u8f6f\u4ef6\u3001\u4ee5\u53ca\u914d\u7f6e\u57fa\u672c\u8bbe\u7f6e\u3002<\/strong> \u5176\u4e2d\u6700\u53d7\u6b22\u8fce\u7684Python\u6587\u672c\u7f16\u8f91\u5668\u6709 Visual Studio Code\u3001PyCharm \u4ee5\u53ca Sublime Text \u7b49\u3002\u4ee5\u4e0b\u5c06\u4ee5 Visual Studio Code\uff08\u4ee5\u4e0b\u7b80\u79f0 VS Code\uff09\u4e3a\u4f8b\uff0c\u8fdb\u884c\u8be6\u7ec6\u7684\u5b89\u88c5\u53ca\u914d\u7f6e\u6307\u5bfc\uff0cVS Code \u662f\u4e00\u4e2a\u514d\u8d39\u3001\u5f00\u6e90\u4e14\u8de8\u5e73\u53f0\u7684\u7f16\u8f91\u5668\uff0c\u62e5\u6709\u5f3a\u5927\u7684\u6269\u5c55\u751f\u6001\u7cfb\u7edf\uff0c\u975e\u5e38\u9002\u5408\u7f16\u7a0b\u521d\u5b66\u8005\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4e0b\u8f7d VS Code<\/h3>\n<\/p>\n<p><p>\u524d\u5f80 Visual Studio Code \u7684\u5b98\u7f51\uff08<a href=\"https:\/\/code.visualstudio.com\/%EF%BC%89%EF%BC%8C%E5%9C%A8%E9%A6%96%E9%A1%B5%E4%BE%BF%E8%83%BD%E7%9C%8B%E5%88%B0%E4%B8%8D%E5%90%8C%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E7%89%88%E6%9C%AC%E7%9A%84%E4%B8%8B%E8%BD%BD%E9%80%89%E9%A1%B9%E3%80%82%E6%A0%B9%E6%8D%AE%E4%BD%A0%E7%9A%84%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%EF%BC%88Windows%E3%80%81MacOS\">https:\/\/code.visualstudio.com\/\uff09\uff0c\u5728\u9996\u9875\u4fbf\u80fd\u770b\u5230\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u7684\u4e0b\u8f7d\u9009\u9879\u3002\u6839\u636e\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\uff08Windows\u3001MacOS<\/a> \u6216 Linux\uff09\uff0c\u9009\u62e9\u5bf9\u5e94\u7684\u7248\u672c\u8fdb\u884c\u4e0b\u8f7d\u3002\u4e00\u822c\u7f51\u7ad9\u4f1a\u81ea\u52a8\u68c0\u6d4b\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u5e76\u63a8\u8350\u9002\u5f53\u7684\u7248\u672c\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u5b89\u88c5 VS Code<\/h3>\n<\/p>\n<p><p>\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u5b89\u88c5\u5305\u8fdb\u884c\u5b89\u88c5\u3002\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u9009\u62e9\u63a5\u53d7\u9ed8\u8ba4\u8bbe\u7f6e\uff0c\u4e5f\u53ef\u4ee5\u6839\u636e\u4e2a\u4eba\u504f\u597d\u8fdb\u884c\u81ea\u5b9a\u4e49\uff0c\u5982\u9009\u62e9\u5b89\u88c5\u8def\u5f84\u3001\u6dfb\u52a0\u73af\u5883\u53d8\u91cf\u7b49\u3002\u5b8c\u6210\u5b89\u88c5\u540e\uff0c\u53ef\u4ee5\u5728\u201c\u5f00\u59cb\u83dc\u5355\u201d\u4e2d\u627e\u5230 VS Code \u5e94\u7528\u7a0b\u5e8f\u5e76\u6253\u5f00\u5b83\u3002<\/p>\n<\/p>\n<p><p><strong>\u5b89\u88c5\u65f6\uff0c\u8bb0\u5f97\u52fe\u9009\u201cAdd to PATH\u201d\u9009\u9879\uff0c\u8fd9\u6837\u53ef\u4ee5\u5728\u4efb\u4f55\u547d\u4ee4\u884c\u754c\u9762\u4e2d\u76f4\u63a5\u901a\u8fc7\u952e\u5165 <code>code<\/code> \u547d\u4ee4\u6765\u6253\u5f00 VS Code\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u57fa\u672c\u914d\u7f6e<\/h3>\n<\/p>\n<p><p>\u6253\u5f00 VS Code \u540e\uff0c\u901a\u8fc7\u70b9\u51fb\u5de6\u4fa7\u7684&quot;\u6269\u5c55&quot;\u56fe\u6807\u6216\u4f7f\u7528\u5feb\u6377\u952e(Ctrl+Shift+X)\u6253\u5f00\u6269\u5c55\u5e02\u573a\u3002\u5728\u641c\u7d22\u680f\u8f93\u5165&quot;Python&quot;\uff0c\u9009\u62e9 Microsoft \u53d1\u5e03\u7684\u5b98\u65b9 Python \u6269\u5c55\u8fdb\u884c\u5b89\u88c5\u3002<strong>\u8fd9\u4e2a\u6269\u5c55\u4e3a VS Code \u589e\u52a0\u4e86\u5bf9 Python \u8bed\u8a00\u7684\u652f\u6301\uff0c\u63d0\u4f9b\u4e86\u8bed\u6cd5\u9ad8\u4eae\u3001\u4ee3\u7801\u81ea\u52a8\u5b8c\u6210\u3001\u683c\u5f0f\u5316\u4ee3\u7801\u3001\u8c03\u8bd5\u7b49\u529f\u80fd\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u5b89\u88c5\u597d Python \u6269\u5c55\u540e\uff0c\u901a\u8fc7 <code>File &gt; Preferences &gt; Settings<\/code>\uff08\u6216\u4f7f\u7528\u5feb\u6377\u952e Ctrl+,\uff09\u8fdb\u5165\u8bbe\u7f6e\uff0c\u5bf9\u7f16\u8f91\u5668\u8fdb\u884c\u4e2a\u6027\u5316\u914d\u7f6e\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u5728\u8bbe\u7f6e\u4e2d\u914d\u7f6e Python \u89e3\u91ca\u5668\u7684\u8def\u5f84\uff0c\u8bbe\u7f6e\u4ee3\u7801\u683c\u5f0f\u5316\u5de5\u5177\u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u521b\u5efa\u548c\u8fd0\u884c Python \u811a\u672c<\/h3>\n<\/p>\n<p><p>\u8981\u5f00\u59cb\u7f16\u5199 Python \u4ee3\u7801\uff0c\u9996\u5148\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u65b0\u6587\u4ef6\uff0c\u901a\u8fc7\u70b9\u51fb\u5de6\u4e0a\u89d2\u7684\u201c\u6587\u4ef6\u201d\u83dc\u5355\uff0c\u9009\u62e9\u201c\u65b0\u5efa\u6587\u4ef6\u201d\u3002\u7136\u540e\u4fdd\u5b58\u8fd9\u4e2a\u6587\u4ef6\uff0c\u5e76\u5c06\u5176\u4fdd\u5b58\u4e3a <code>.py<\/code> \u540e\u7f00\u7684\u6587\u4ef6\uff0c\u8868\u793a\u8fd9\u662f\u4e00\u4e2a Python \u811a\u672c\u3002<\/p>\n<\/p>\n<p><p><strong>\u4e3a\u4e86\u8fd0\u884c Python \u811a\u672c\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728 VS Code \u7684\u96c6\u6210\u7ec8\u7aef\u4e2d\u8f93\u5165\u4f8b\u5982 <code>python3 script.py<\/code> \u7684\u547d\u4ee4\uff08\u5176\u4e2d <code>script.py<\/code> \u662f\u4f60\u7684 Python \u6587\u4ef6\u540d\uff09\uff0c\u6216\u8005\u4f7f\u7528\u63d0\u4f9b\u7684\u201c\u8fd0\u884c\u201d\u6309\u94ae\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u638c\u63e1\u57fa\u672c\u5feb\u6377\u952e\u548c\u4f7f\u7528\u6280\u5de7<\/h3>\n<\/p>\n<p><p>VS Code \u63d0\u4f9b\u4e86\u5927\u91cf\u7684\u5feb\u6377\u952e\u6765\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002\u4f8b\u5982\uff0c<code>Ctrl+P<\/code> \u53ef\u4ee5\u5feb\u901f\u641c\u7d22\u9879\u76ee\u4e2d\u7684\u6587\u4ef6\uff0c<code>Ctrl+D<\/code> \u53ef\u7528\u4e8e\u9009\u4e2d\u4e0b\u4e00\u4e2a\u4e0e\u5f53\u524d\u9009\u4e2d\u5355\u8bcd\u76f8\u540c\u7684\u5355\u8bcd\uff0c<code>Ctrl+\/<\/code> \u53ef\u4ee5\u5207\u6362\u884c\u6ce8\u91ca\u7b49\u3002\u82b1\u65f6\u95f4\u719f\u6089\u8fd9\u4e9b\u5feb\u6377\u952e\u4f1a\u5728\u4ee5\u540e\u7684\u7f16\u7a0b\u5b9e\u8df5\u4e2d\u5e26\u6765\u6781\u5927\u7684\u4fbf\u5229\u3002<\/p>\n<\/p>\n<p><p><strong>\u638c\u63e1\u57fa\u672c\u7684 VS Code \u5feb\u6377\u952e\u548c\u529f\u80fd\u5c06\u6781\u5927\u63d0\u5347\u4ee3\u7801\u7f16\u5199\u7684\u6548\u7387\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u516d\u3001\u4e86\u89e3\u548c\u4f7f\u7528\u8c03\u8bd5\u529f\u80fd<\/h3>\n<\/p>\n<p><p>VS Code \u5185\u7f6e\u4e86\u5f3a\u5927\u7684\u8c03\u8bd5\u5de5\u5177\uff0c\u53ef\u4ee5\u901a\u8fc7\u521b\u5efa\u914d\u7f6e\u6587\u4ef6\u6765\u8c03\u8bd5 Python \u811a\u672c\u3002\u901a\u8fc7\u70b9\u51fb\u5de6\u4fa7\u7684\u201c\u8c03\u8bd5\u201d\u56fe\u6807\u6216\u4f7f\u7528\u5feb\u6377\u952e Ctrl+Shift+D \u8fdb\u5165\u8c03\u8bd5\u89c6\u56fe\uff0c\u70b9\u51fb\u201c\u521b\u5efa launch.json \u6587\u4ef6\u201d\u5373\u53ef\u5f00\u59cb\u914d\u7f6e\u8c03\u8bd5\u73af\u5883\u3002<\/p>\n<\/p>\n<p><p><strong>\u6b63\u786e\u914d\u7f6e\u8c03\u8bd5\u5de5\u5177\u53ef\u4ee5\u8ba9\u4f60\u66f4\u8f7b\u677e\u5730\u8ddf\u8e2a\u4ee3\u7801\u9519\u8bef\u548c\u6027\u80fd\u74f6\u9888\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u5229\u7528\u7248\u672c\u63a7\u5236<\/h3>\n<\/p>\n<p><p>VS Code\u96c6\u6210\u4e86Git\u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff0c\u652f\u6301\u5e38\u7528\u7684Git\u64cd\u4f5c\u3002\u901a\u8fc7\u5de6\u4fa7\u7684\u201c\u6e90\u4ee3\u7801\u7ba1\u7406\u201d\u56fe\u6807\u53ef\u4ee5\u67e5\u770b\u66f4\u6539\u3001\u63d0\u4ea4\u66f4\u65b0\u7b49\u3002\u5982\u679c\u8fd8\u672a\u5b89\u88c5Git\uff0c\u9700\u8981\u5148\u53bbGit\u5b98\u7f51\u4e0b\u8f7d\u5e76\u5b89\u88c5\uff08<a href=\"https:\/\/git-scm.com\/%EF%BC%89%EF%BC%8C%E5%AE%89%E8%A3%85%E5%90%8E%E5%9C%A8\">https:\/\/git-scm.com\/\uff09\uff0c\u5b89\u88c5\u540e\u5728<\/a> VS Code \u4e2d\u767b\u5f55\u4f60\u7684 Github \u8d26\u6237\uff0c\u5373\u53ef\u5f00\u59cb\u7248\u672c\u63a7\u5236\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f7f\u7528Git\u8fdb\u884c\u7248\u672c\u63a7\u5236\uff0c\u80fd\u591f\u66f4\u597d\u5730\u7ba1\u7406\u4ee3\u7801\u53d8\u66f4\u548c\u5408\u4f5c\u5f00\u53d1\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u521d\u6b21\u63a5\u89e6\u5982\u4f55\u5b89\u88c5\u548c\u914d\u7f6ePython\u6587\u672c\u7f16\u8f91\u5668\u65f6\uff0c\u65b0\u624b\u53ef\u80fd\u4f1a\u89c9\u5f97\u6b65\u9aa4\u7e41\u7410\uff0c\u4f46\u968f\u7740\u5bf9\u5de5\u5177\u7684\u9010\u6e10\u719f\u6089\uff0c\u4f60\u4f1a\u53d1\u73b0\u8fd9\u4e9b\u7f16\u8f91\u5668\u5927\u5927\u63d0\u9ad8\u4e86\u7f16\u7a0b\u7684\u6548\u7387\u548c\u4e50\u8da3\u3002\u5c1d\u8bd5\u4f7f\u7528\u4ee5\u4e0a\u63d0\u5230\u7684\u5404\u9879\u529f\u80fd\uff0c\u8ba9\u4f60\u7684 Python \u7f16\u7a0b\u4e4b\u65c5\u5145\u6ee1\u52a8\u529b\u548c\u9ad8\u6548\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>\u95ee\u98981\uff1aPython\u7684\u6587\u672c\u7f16\u8f91\u5668\u6709\u54ea\u4e9b\u63a8\u8350\u7684\u9009\u62e9\uff1f<\/strong><\/p>\n<p>\u5728\u5b89\u88c5Python\u7684\u6587\u672c\u7f16\u8f91\u5668\u4e4b\u524d\uff0c\u8ba9\u6211\u4eec\u5148\u4e86\u89e3\u4e00\u4e9bPython\u5f00\u53d1\u8005\u5e38\u7528\u7684\u6587\u672c\u7f16\u8f91\u5668\u3002\u6709\u51e0\u4e2a\u53d7\u6b22\u8fce\u7684\u9009\u62e9\u662f\uff1a<\/p>\n<ul>\n<li>Visual Studio Code\uff08VS Code\uff09\uff1a\u8fd9\u662f\u4e00\u4e2a\u514d\u8d39\u4e14\u529f\u80fd\u5f3a\u5927\u7684\u7f16\u8f91\u5668\uff0c\u5177\u6709\u4e30\u5bcc\u7684\u63d2\u4ef6\u751f\u6001\u7cfb\u7edf\uff0c\u9002\u5408Python\u548c\u5176\u4ed6\u7f16\u7a0b\u8bed\u8a00\u7684\u5f00\u53d1\u3002<\/li>\n<li>PyCharm\uff1a\u8fd9\u662f\u4e00\u4e2a\u4e13\u4e1a\u7684Python\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\uff0c\u63d0\u4f9b\u5f3a\u5927\u7684\u8c03\u8bd5\u548c\u4ee3\u7801\u5206\u6790\u529f\u80fd\u3002<\/li>\n<li>Sublime Text\uff1a\u8fd9\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u4e14\u9ad8\u5ea6\u53ef\u914d\u7f6e\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5177\u6709\u5feb\u901f\u7684\u54cd\u5e94\u65f6\u95f4\u548c\u5f3a\u5927\u7684\u641c\u7d22\u548c\u66ff\u6362\u529f\u80fd\u3002<\/li>\n<\/ul>\n<p><strong>\u95ee\u98982\uff1a\u6211\u5e94\u8be5\u5982\u4f55\u5b89\u88c5Visual Studio Code\uff08VS Code\uff09\u5e76\u914d\u7f6ePython\u63d2\u4ef6\uff1f<\/strong><\/p>\n<p>\u4e0b\u9762\u662f\u4e00\u4e9b\u7b80\u5355\u7684\u6b65\u9aa4\u6765\u5b89\u88c5VS Code\u548c\u914d\u7f6ePython\u63d2\u4ef6\uff1a<\/p>\n<ol>\n<li>\u8bbf\u95ee<a href=\"https:\/\/code.visualstudio.com%E5%B9%B6%E4%B8%8B%E8%BD%BD%E9%80%82%E7%94%A8%E4%BA%8E%E6%82%A8%E7%9A%84%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E7%9A%84%E5%AE%89%E8%A3%85%E7%A8%8B%E5%BA%8F%E3%80%82\">https:\/\/code.visualstudio.com\u5e76\u4e0b\u8f7d\u9002\u7528\u4e8e\u60a8\u7684\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u7a0b\u5e8f\u3002<\/a><\/li>\n<li>\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u5e76\u6309\u7167\u63d0\u793a\u5b8c\u6210\u5b89\u88c5\u8fc7\u7a0b\u3002<\/li>\n<li>\u6253\u5f00VS Code\uff0c\u5e76\u5728\u5de6\u4fa7\u8fb9\u680f\u4e2d\u9009\u62e9\u201c\u6269\u5c55\u201d\uff08Extensions\uff09\u56fe\u6807\uff08\u76f8\u4f3c\u4e8e\u56db\u4e2a\u65b9\u5757\uff09\u3002<\/li>\n<li>\u5728\u641c\u7d22\u680f\u4e2d\u8f93\u5165\u201cPython\u201d\uff0c\u5e76\u9009\u62e9&quot;Python&quot;\u63d2\u4ef6\uff08\u7531Microsoft\u63d0\u4f9b\uff09\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u5b89\u88c5\u201d\u6309\u94ae\u8fdb\u884c\u5b89\u88c5\uff0c\u7136\u540e\u70b9\u51fb\u201c\u91cd\u65b0\u52a0\u8f7d\u201d\u6309\u94ae\u542f\u7528\u63d2\u4ef6\u3002<\/li>\n<li>\u73b0\u5728\uff0c\u60a8\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\uff08\u4f8b\u5982\uff0chello.py\uff09\uff0c\u5f00\u59cb\u7f16\u5199\u5e76\u6267\u884cPython\u4ee3\u7801\u4e86\u3002<\/li>\n<\/ol>\n<p><strong>\u95ee\u98983\uff1a\u5982\u4f55\u5728PyCharm\u4e2d\u5b89\u88c5Python\u5e76\u521b\u5efa\u65b0\u9879\u76ee\uff1f<\/strong><\/p>\n<p>\u4ee5\u4e0b\u662f\u5728PyCharm\u4e2d\u5b89\u88c5Python\u5e76\u521b\u5efa\u65b0\u9879\u76ee\u7684\u7b80\u5355\u6b65\u9aa4\uff1a<\/p>\n<ol>\n<li>\u4e0b\u8f7d\u5e76\u5b89\u88c5PyCharm Community Edition\uff08\u514d\u8d39\u7248\u672c\uff09\u6216PyCharm Professional Edition\uff08\u4ed8\u8d39\u7248\uff09\u3002<\/li>\n<li>\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u9009\u62e9\u5b89\u88c5Python\u3002\u5982\u679c\u6ca1\u6709\u5b89\u88c5Python\uff0c\u5219\u9700\u8981\u624b\u52a8\u5b89\u88c5Python\uff0c\u5e76\u786e\u4fdd\u5c06\u5176\u6dfb\u52a0\u5230\u7cfb\u7edf\u8def\u5f84\u4e2d\u3002<\/li>\n<li>\u6253\u5f00PyCharm\uff0c\u5e76\u9009\u62e9\u201c\u521b\u5efa\u65b0\u9879\u76ee\u201d\u3002<\/li>\n<li>\u5728\u201c\u65b0\u5efa\u9879\u76ee\u201d\u5bf9\u8bdd\u6846\u4e2d\uff0c\u9009\u62e9\u89e3\u91ca\u5668\u4e3a\u60a8\u5df2\u5b89\u88c5\u7684Python\u89e3\u91ca\u5668\u3002<\/li>\n<li>\u8f93\u5165\u9879\u76ee\u7684\u540d\u79f0\u548c\u4f4d\u7f6e\uff0c\u5e76\u70b9\u51fb\u201c\u521b\u5efa\u201d\u6309\u94ae\u3002<\/li>\n<li>\u73b0\u5728\u60a8\u53ef\u4ee5\u5728PyCharm\u4e2d\u521b\u5efaPython\u6587\u4ef6\uff0c\u5e76\u5f00\u59cb\u7f16\u5199\u3001\u8fd0\u884c\u548c\u8c03\u8bd5\u4ee3\u7801\u4e86\u3002<\/li>\n<\/ol>\n<p>\u5e0c\u671b\u8fd9\u4e9b\u89e3\u7b54\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\u3002\u5982\u679c\u60a8\u9700\u8981\u66f4\u8be6\u7ec6\u7684\u56fe\u6587\u89e3\u91ca\uff0c\u8bf7\u53c2\u8003\u76f8\u5173\u6559\u7a0b\u548c\u6587\u6863\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u7406\u89e3\u548c\u64cd\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u7684\u6587\u672c\u7f16\u8f91\u5668\u901a\u5e38\u6307\u7684\u662f\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u6216\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u8fd9\u4e9b\u5de5\u5177\u53ef\u4ee5\u4e3a\u7f16\u7a0b\u63d0\u4f9b\u4fbf\u5229\u7684\u7f16\u8f91\u548c\u8c03\u8bd5\u529f [&hellip;]","protected":false},"author":3,"featured_media":175887,"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\/175872"}],"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=175872"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/175872\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/175887"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=175872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=175872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=175872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}