{"id":1021963,"date":"2024-12-27T13:29:08","date_gmt":"2024-12-27T05:29:08","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1021963.html"},"modified":"2024-12-27T13:29:10","modified_gmt":"2024-12-27T05:29:10","slug":"%e5%b9%b3%e6%9d%bf%e7%94%b5%e8%84%91%e5%a6%82%e4%bd%95%e8%a3%85python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1021963.html","title":{"rendered":"\u5e73\u677f\u7535\u8111\u5982\u4f55\u88c5python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25164316\/90d207d5-4d69-45ac-9d01-af0d3ce4713b.webp\" alt=\"\u5e73\u677f\u7535\u8111\u5982\u4f55\u88c5python\" \/><\/p>\n<p><p> \u8981\u5728\u5e73\u677f\u7535\u8111\u4e0a\u5b89\u88c5Python\uff0c<strong>\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u9002\u5408\u5e73\u677f\u7535\u8111\u64cd\u4f5c\u7cfb\u7edf\u7684\u5e94\u7528\u5546\u5e97\u4e0b\u8f7dPython\u89e3\u91ca\u5668\u5e94\u7528\u3001\u5229\u7528\u4e91\u5e73\u53f0\u5728\u7ebf\u8fd0\u884cPython\u4ee3\u7801\u3001\u6216\u8005\u901a\u8fc7\u5b89\u88c5Linux\u5b50\u7cfb\u7edf\u6765\u5b9e\u73b0<\/strong>\u3002\u8fd9\u4e9b\u65b9\u6cd5\u5404\u6709\u4f18\u52a3\uff0c\u5177\u4f53\u9009\u62e9\u53d6\u51b3\u4e8e\u60a8\u7684\u8bbe\u5907\u7c7b\u578b\u548c\u4f7f\u7528\u9700\u6c42\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u5e94\u7528\u5546\u5e97\u3001\u4e91\u5e73\u53f0\u548cLinux\u5b50\u7cfb\u7edf\u6765\u5b89\u88c5\u548c\u8fd0\u884cPython\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u5e94\u7528\u5546\u5e97\u5b89\u88c5Python\u89e3\u91ca\u5668<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u5927\u591a\u6570\u7528\u6237\u800c\u8a00\uff0c\u901a\u8fc7\u5e94\u7528\u5546\u5e97\u4e0b\u8f7dPython\u89e3\u91ca\u5668\u662f\u6700\u7b80\u5355\u3001\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\u3002\u4ee5\u4e0b\u662f\u9488\u5bf9\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u7684\u5177\u4f53\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<p><h4>1. iOS\u8bbe\u5907\uff08\u5982iPad\uff09<\/h4>\n<\/p>\n<p><p>\u5728iOS\u8bbe\u5907\u4e0a\uff0cPythonista\u548cPyto\u662f\u4e24\u4e2a\u53d7\u6b22\u8fce\u7684Python\u5f00\u53d1\u5e94\u7528\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>Pythonista<\/strong>\uff1a\u8fd9\u662f\u4e00\u6b3e\u4ed8\u8d39\u5e94\u7528\uff0c\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684Python\u73af\u5883\uff0c\u652f\u6301Python 2.7\u548c3.6\u7248\u672c\u3002Pythonista\u5185\u7f6e\u4e86\u4e30\u5bcc\u7684\u529f\u80fd\uff0c\u5305\u62ec\u4ee3\u7801\u7f16\u8f91\u5668\u3001\u4ea4\u4e92\u5f0f\u63a7\u5236\u53f0\u3001\u5e93\u7ba1\u7406\u548c\u6269\u5c55\u6a21\u5757\u7b49\uff0c\u975e\u5e38\u9002\u5408\u5b66\u4e60\u548c\u5f00\u53d1Python\u5e94\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Pyto<\/strong>\uff1aPyto\u652f\u6301\u6700\u65b0\u7248\u672c\u7684Python\uff0c\u5e76\u4e14\u662f\u5f00\u6e90\u7684\u3002\u5b83\u63d0\u4f9b\u4e86\u66f4\u5e7f\u6cdb\u7684\u5e93\u652f\u6301\uff0c\u5e76\u4e14\u5141\u8bb8\u7528\u6237\u4f7f\u7528\u81ea\u5df1\u7684\u6a21\u5757\u3002Pyto\u7684\u4f18\u52bf\u5728\u4e8e\u5b83\u7684\u7075\u6d3b\u6027\u548c\u66f4\u65b0\u901f\u5ea6\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u5b89\u88c5\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6253\u5f00App Store\uff0c\u641c\u7d22\u5e76\u4e0b\u8f7dPythonista\u6216Pyto\u3002<\/li>\n<li>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00\u5e94\u7528\uff0c\u5373\u53ef\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002<\/li>\n<\/ul>\n<p><h4>2. Android\u8bbe\u5907<\/h4>\n<\/p>\n<p><p>\u5728Android\u8bbe\u5907\u4e0a\uff0c\u6709\u591a\u4e2a\u5e94\u7528\u53ef\u4ee5\u7528\u4e8e\u8fd0\u884cPython\uff0c\u5176\u4e2dQPython\u548cPydroid 3\u662f\u6700\u5e38\u89c1\u7684\u9009\u62e9\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>QPython<\/strong>\uff1aQPython\u662f\u4e00\u6b3e\u514d\u8d39\u7684Python\u89e3\u91ca\u5668\uff0c\u652f\u6301Python 2\u548cPython 3\u3002\u5b83\u63d0\u4f9b\u4e86\u811a\u672c\u7f16\u8f91\u5668\u3001\u4ea4\u4e92\u5f0f\u63a7\u5236\u53f0\u548c\u4e30\u5bcc\u7684Python\u6807\u51c6\u5e93\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Pydroid 3<\/strong>\uff1a\u8fd9\u662f\u4e00\u4e2a\u4e13\u6ce8\u4e8ePython 3\u7684\u5f00\u53d1\u5e94\u7528\uff0c\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684Python\u73af\u5883\uff0c\u652f\u6301\u4f17\u591a\u7b2c\u4e09\u65b9\u5e93\u7684\u5b89\u88c5\uff0c\u975e\u5e38\u9002\u5408\u7528\u4e8e\u5b66\u4e60\u548c\u5c0f\u578b\u9879\u76ee\u5f00\u53d1\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u5b89\u88c5\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6253\u5f00Google Play\u5546\u5e97\uff0c\u641c\u7d22\u5e76\u4e0b\u8f7dQPython\u6216Pydroid 3\u3002<\/li>\n<li>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u542f\u52a8\u5e94\u7528\uff0c\u60a8\u5c31\u53ef\u4ee5\u5728Android\u8bbe\u5907\u4e0a\u7f16\u5199\u548c\u8fd0\u884cPython\u7a0b\u5e8f\u3002<\/li>\n<\/ul>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u4e91\u5e73\u53f0\u5728\u7ebf\u8fd0\u884cPython\u4ee3\u7801<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u4e0d\u60f3\u5728\u8bbe\u5907\u4e0a\u76f4\u63a5\u5b89\u88c5Python\u73af\u5883\u7684\u7528\u6237\uff0c\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528\u4e91\u5e73\u53f0\u5728\u7ebf\u8fd0\u884cPython\u4ee3\u7801\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u53d7\u8bbe\u5907\u786c\u4ef6\u9650\u5236\uff0c\u5e76\u4e14\u63d0\u4f9b\u4e86\u66f4\u5f3a\u5927\u7684\u8ba1\u7b97\u8d44\u6e90\u3002<\/p>\n<\/p>\n<p><h4>1. Google Colab<\/h4>\n<\/p>\n<p><p>Google Colab\u662f\u4e00\u4e2a\u7531Google\u63d0\u4f9b\u7684\u5728\u7ebfPython\u7f16\u7a0b\u5e73\u53f0\uff0c\u57fa\u4e8eJupyter Notebook\uff0c\u7528\u6237\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u4e2d\u76f4\u63a5\u7f16\u5199\u548c\u6267\u884cPython\u4ee3\u7801\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u4f18\u70b9<\/strong>\uff1a\u65e0\u9700\u5b89\u88c5\u4efb\u4f55\u8f6f\u4ef6\uff0c\u652f\u6301GPU\u52a0\u901f\uff0c\u9002\u5408\u6570\u636e\u79d1\u5b66\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u9879\u76ee\u3002<\/li>\n<li><strong>\u4f7f\u7528\u65b9\u6cd5<\/strong>\uff1a\n<ul>\n<li>\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u8bbf\u95eeGoogle Colab\u7f51\u7ad9\uff08<a href=\"https:\/\/colab.research.google.com%EF%BC%89%E3%80%82\">https:\/\/colab.research.google.com\uff09\u3002<\/a><\/li>\n<li>\u4f7f\u7528Google\u8d26\u6237\u767b\u5f55\u540e\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Notebook\uff0c\u5373\u53ef\u5f00\u59cb\u7f16\u5199\u548c\u6267\u884cPython\u4ee3\u7801\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><h4>2. Jupyter Notebook<\/h4>\n<\/p>\n<p><p>Jupyter Notebook\u662f\u4e00\u79cd\u4ea4\u4e92\u5f0f\u8ba1\u7b97\u73af\u5883\uff0c\u53ef\u4ee5\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee\u3002\u867d\u7136\u5b83\u901a\u5e38\u9700\u8981\u5728\u672c\u5730\u5b89\u88c5Python\u73af\u5883\uff0c\u4f46\u4e5f\u53ef\u4ee5\u901a\u8fc7JupyterHub\u6216Binder\u7b49\u5728\u7ebf\u670d\u52a1\u4f7f\u7528\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u4f7f\u7528\u65b9\u6cd5<\/strong>\uff1a\n<ul>\n<li>\u4f7f\u7528Binder\uff08<a href=\"https:\/\/mybinder.org%EF%BC%89%E5%8F%AF%E4%BB%A5%E5%B0%86GitHub%E4%B8%8A%E7%9A%84Jupyter\">https:\/\/mybinder.org\uff09\u53ef\u4ee5\u5c06GitHub\u4e0a\u7684Jupyter<\/a> Notebook\u4ed3\u5e93\u8f6c\u6362\u4e3a\u53ef\u5728\u7ebf\u8fd0\u884c\u7684\u73af\u5883\u3002<\/li>\n<li>\u8bbf\u95eeBinder\u7f51\u7ad9\uff0c\u8f93\u5165GitHub\u4ed3\u5e93\u5730\u5740\uff0c\u70b9\u51fb\u201cLaunch\u201d\uff0c\u5373\u53ef\u5728\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884cNotebook\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><h3>\u4e09\u3001\u5b89\u88c5Linux\u5b50\u7cfb\u7edf\u8fd0\u884cPython<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u9ad8\u7ea7\u7528\u6237\uff0c\u7279\u522b\u662f\u4f7f\u7528Windows\u8bbe\u5907\u7684\u7528\u6237\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5Linux\u5b50\u7cfb\u7edf\u5728\u5e73\u677f\u7535\u8111\u4e0a\u8fd0\u884c\u5b8c\u6574\u7684Python\u73af\u5883\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u5408\u6709Linux\u80cc\u666f\u77e5\u8bc6\u7684\u7528\u6237\u3002<\/p>\n<\/p>\n<p><h4>1. Windows Subsystem for Linux (WSL)<\/h4>\n<\/p>\n<p><p>Windows Subsystem for Linux\u5141\u8bb8\u5728Windows\u4e0a\u8fd0\u884cLinux\u73af\u5883\u3002\u901a\u8fc7WSL\uff0c\u7528\u6237\u53ef\u4ee5\u5728Windows\u8bbe\u5907\u4e0a\u5b89\u88c5\u5e76\u8fd0\u884cLinux\u53d1\u884c\u7248\uff0c\u5e76\u4f7f\u7528Linux\u547d\u4ee4\u884c\u5de5\u5177\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u5b89\u88c5\u6b65\u9aa4<\/strong>\uff1a\n<ul>\n<li>\u786e\u4fdd\u60a8\u7684Windows\u7248\u672c\u652f\u6301WSL\uff08Windows 10\u6216\u66f4\u9ad8\u7248\u672c\uff09\u3002<\/li>\n<li>\u6253\u5f00\u201c\u8bbe\u7f6e\u201d&gt;\u201c\u5e94\u7528\u201d&gt;\u201c\u53ef\u9009\u529f\u80fd\u201d\uff0c\u542f\u7528\u201cWindows Subsystem for Linux\u201d\u3002<\/li>\n<li>\u901a\u8fc7Microsoft Store\u5b89\u88c5Ubuntu\u6216\u5176\u4ed6Linux\u53d1\u884c\u7248\u3002<\/li>\n<li>\u542f\u52a8Linux\u5b50\u7cfb\u7edf\uff0c\u4f7f\u7528\u547d\u4ee4\u884c\u5b89\u88c5Python\uff08\u4f8b\u5982\uff0c<code>sudo apt update &amp;&amp; sudo apt install python3<\/code>\uff09\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><h4>2. Termux\uff08\u9002\u7528\u4e8eAndroid\uff09<\/h4>\n<\/p>\n<p><p>Termux\u662f\u4e00\u4e2aAndroid\u7ec8\u7aef\u4eff\u771f\u5668\u548cLinux\u73af\u5883\u5e94\u7528\uff0c\u5141\u8bb8\u7528\u6237\u5728Android\u8bbe\u5907\u4e0a\u8fd0\u884cLinux\u547d\u4ee4\u884c\u5de5\u5177\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u5b89\u88c5\u6b65\u9aa4<\/strong>\uff1a\n<ul>\n<li>\u5728Google Play\u5546\u5e97\u641c\u7d22\u5e76\u5b89\u88c5Termux\u3002<\/li>\n<li>\u542f\u52a8Termux\u5e94\u7528\uff0c\u4f7f\u7528\u547d\u4ee4\u884c\u5b89\u88c5Python\uff08\u4f8b\u5982\uff0c<code>pkg install python<\/code>\uff09\u3002<\/li>\n<li>\u901a\u8fc7Termux\uff0c\u60a8\u53ef\u4ee5\u8bbf\u95ee\u5b8c\u6574\u7684Linux\u547d\u4ee4\u884c\u73af\u5883\uff0c\u7f16\u5199\u548c\u6267\u884cPython\u4ee3\u7801\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><h3>\u56db\u3001\u4f7f\u7528\u8fdc\u7a0b\u684c\u9762\u8fde\u63a5\u5230\u5df2\u914d\u7f6e\u7684Python\u73af\u5883<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u60a8\u5728\u5176\u4ed6\u8bbe\u5907\uff08\u5982PC\u6216\u670d\u52a1\u5668\uff09\u4e0a\u5df2\u7ecf\u914d\u7f6e\u597dPython\u73af\u5883\uff0c\u53ef\u4ee5\u901a\u8fc7\u8fdc\u7a0b\u684c\u9762\u6216SSH\u8fde\u63a5\u6765\u5728\u5e73\u677f\u7535\u8111\u4e0a\u4f7f\u7528\u8fd9\u4e9b\u8d44\u6e90\u3002<\/p>\n<\/p>\n<p><h4>1. \u4f7f\u7528SSH\u8fde\u63a5<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8eLinux\u670d\u52a1\u5668\u6216\u672c\u5730Linux\u8bbe\u5907\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528SSH\u8fde\u63a5\u6765\u8fdc\u7a0b\u8bbf\u95ee\u548c\u6267\u884cPython\u4ee3\u7801\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u6b65\u9aa4<\/strong>\uff1a\n<ul>\n<li>\u786e\u4fdd\u670d\u52a1\u5668\u4e0a\u5df2\u5b89\u88c5SSH\u670d\u52a1\uff0c\u5e76\u5728\u9632\u706b\u5899\u4e2d\u5f00\u653eSSH\u7aef\u53e3\u3002<\/li>\n<li>\u5728\u5e73\u677f\u7535\u8111\u4e0a\u5b89\u88c5SSH\u5ba2\u6237\u7aef\u5e94\u7528\uff08\u5982Termius\uff09\u3002<\/li>\n<li>\u901a\u8fc7SSH\u5ba2\u6237\u7aef\u8fde\u63a5\u5230\u670d\u52a1\u5668\uff0c\u4f7f\u7528\u547d\u4ee4\u884c\u6267\u884cPython\u4ee3\u7801\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><h4>2. \u4f7f\u7528\u8fdc\u7a0b\u684c\u9762<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8eWindows\u8bbe\u5907\uff0c\u53ef\u4ee5\u4f7f\u7528\u8fdc\u7a0b\u684c\u9762\u534f\u8bae\uff08RDP\uff09\u6765\u8fde\u63a5\u5230\u914d\u7f6e\u4e86Python\u73af\u5883\u7684PC\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u6b65\u9aa4<\/strong>\uff1a\n<ul>\n<li>\u786e\u4fdd\u76ee\u6807Windows\u8bbe\u5907\u542f\u7528\u8fdc\u7a0b\u684c\u9762\u529f\u80fd\u3002<\/li>\n<li>\u5728\u5e73\u677f\u7535\u8111\u4e0a\u5b89\u88c5\u8fdc\u7a0b\u684c\u9762\u5e94\u7528\uff08\u5982Microsoft Remote Desktop\uff09\u3002<\/li>\n<li>\u901a\u8fc7\u8fdc\u7a0b\u684c\u9762\u5e94\u7528\u8fde\u63a5\u5230\u76ee\u6807\u8bbe\u5907\uff0c\u4f7f\u7528\u914d\u7f6e\u597d\u7684Python\u73af\u5883\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><h3>\u4e94\u3001\u9009\u62e9\u5408\u9002\u7684IDE\u6216\u4ee3\u7801\u7f16\u8f91\u5668<\/h3>\n<\/p>\n<p><p>\u65e0\u8bba\u60a8\u9009\u62e9\u54ea\u79cd\u65b9\u5f0f\u5728\u5e73\u677f\u7535\u8111\u4e0a\u8fd0\u884cPython\uff0c\u90fd\u9700\u8981\u4e00\u4e2a\u5408\u9002\u7684IDE\u6216\u4ee3\u7801\u7f16\u8f91\u5668\u6765\u7f16\u5199\u548c\u8c03\u8bd5\u4ee3\u7801\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u9002\u5408\u5e73\u677f\u7535\u8111\u4f7f\u7528\u7684IDE\u548c\u4ee3\u7801\u7f16\u8f91\u5668\uff1a<\/p>\n<\/p>\n<p><h4>1. Juno\uff08\u9002\u7528\u4e8eiOS\uff09<\/h4>\n<\/p>\n<p><p>Juno\u662f\u4e00\u6b3e\u4e13\u95e8\u4e3aiOS\u8bbe\u5907\u8bbe\u8ba1\u7684Jupyter Notebook\u5ba2\u6237\u7aef\uff0c\u652f\u6301\u5728iPad\u4e0a\u8fdb\u884c\u4ea4\u4e92\u5f0fPython\u7f16\u7a0b\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u7279\u70b9<\/strong>\uff1a\u652f\u6301Markdown\u3001LaTeX\u548c\u53ef\u89c6\u5316\uff0c\u9002\u5408\u6570\u636e\u5206\u6790\u548c\u79d1\u5b66\u8ba1\u7b97\u3002<\/li>\n<\/ul>\n<p><h4>2. <a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>DE\uff08\u9002\u7528\u4e8eAndroid\uff09<\/h4>\n<\/p>\n<p><p>AIDE\u662f\u4e00\u4e2a\u9002\u7528\u4e8eAndroid\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ecPython\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u7279\u70b9<\/strong>\uff1a\u63d0\u4f9b\u4ee3\u7801\u8865\u5168\u3001\u5b9e\u65f6\u9519\u8bef\u68c0\u67e5\u548c\u8c03\u8bd5\u529f\u80fd\uff0c\u9002\u5408\u5c0f\u578b\u9879\u76ee\u5f00\u53d1\u3002<\/li>\n<\/ul>\n<p><h4>3. Visual Studio Code\uff08\u901a\u8fc7\u8fdc\u7a0b\u8fde\u63a5\uff09<\/h4>\n<\/p>\n<p><p>Visual Studio Code\u662f\u4e00\u6b3e\u6d41\u884c\u7684\u8de8\u5e73\u53f0\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u867d\u7136\u4e0d\u80fd\u76f4\u63a5\u5728\u5e73\u677f\u7535\u8111\u4e0a\u8fd0\u884c\uff0c\u4f46\u53ef\u4ee5\u901a\u8fc7\u8fdc\u7a0b\u8fde\u63a5\u4f7f\u7528\u5176\u4e30\u5bcc\u7684\u529f\u80fd\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u4f7f\u7528\u65b9\u6cd5<\/strong>\uff1a\n<ul>\n<li>\u5728PC\u6216\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Visual Studio Code\u548cRemote Development\u6269\u5c55\u3002<\/li>\n<li>\u901a\u8fc7SSH\u6216\u8fdc\u7a0b\u684c\u9762\u8fde\u63a5\u5230PC\uff0c\u4f7f\u7528Visual Studio Code\u8fdb\u884cPython\u5f00\u53d1\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><h3>\u516d\u3001\u914d\u7f6e\u548c\u7ba1\u7406Python\u73af\u5883<\/h3>\n<\/p>\n<p><p>\u5728\u5e73\u677f\u7535\u8111\u4e0a\u5b89\u88c5\u597dPython\u4e4b\u540e\uff0c\u914d\u7f6e\u548c\u7ba1\u7406Python\u73af\u5883\u662f\u975e\u5e38\u91cd\u8981\u7684\uff0c\u5c24\u5176\u662f\u5bf9\u4e8e\u9700\u8981\u4f7f\u7528\u591a\u4e2a\u7b2c\u4e09\u65b9\u5e93\u7684\u9879\u76ee\u3002<\/p>\n<\/p>\n<p><h4>1. \u4f7f\u7528\u865a\u62df\u73af\u5883<\/h4>\n<\/p>\n<p><p>\u865a\u62df\u73af\u5883\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5728\u540c\u4e00\u8bbe\u5907\u4e0a\u7ba1\u7406\u591a\u4e2aPython\u9879\u76ee\u7684\u4f9d\u8d56\u5173\u7cfb\uff0c\u907f\u514d\u5e93\u7248\u672c\u51b2\u7a81\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u521b\u5efa\u865a\u62df\u73af\u5883<\/strong>\uff1a\n<ul>\n<li>\u4f7f\u7528<code>venv<\/code>\u6a21\u5757\u521b\u5efa\u865a\u62df\u73af\u5883\uff0c\u4f8b\u5982\uff1a<code>python3 -m venv myenv<\/code>\u3002<\/li>\n<li>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff1a\u5728Linux\u6216MacOS\u4e0a\u4f7f\u7528<code>source myenv\/bin\/activate<\/code>\uff0c\u5728Windows\u4e0a\u4f7f\u7528<code>myenv\\Scripts\\activate<\/code>\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><h4>2. \u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177<\/h4>\n<\/p>\n<p><p>\u5305\u7ba1\u7406\u5de5\u5177\uff08\u5982pip\uff09\u7528\u4e8e\u5b89\u88c5\u548c\u7ba1\u7406Python\u5e93\u3002\u786e\u4fdd\u4f7f\u7528\u6700\u65b0\u7248\u672c\u7684pip\uff0c\u4ee5\u4fbf\u83b7\u5f97\u6700\u4f73\u7684\u517c\u5bb9\u6027\u548c\u5b89\u5168\u6027\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u66f4\u65b0pip<\/strong>\uff1a<code>python -m pip install --upgrade pip<\/code><\/li>\n<li><strong>\u5b89\u88c5\u5e93<\/strong>\uff1a<code>pip install &lt;package_name&gt;<\/code><\/li>\n<\/ul>\n<p><h3>\u4e03\u3001\u5b66\u4e60\u548c\u5f00\u53d1Python\u9879\u76ee<\/h3>\n<\/p>\n<p><p>\u5b89\u88c5\u597dPython\u73af\u5883\u540e\uff0c\u60a8\u53ef\u4ee5\u5f00\u59cb\u5b66\u4e60\u548c\u5f00\u53d1Python\u9879\u76ee\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5efa\u8bae\u548c\u8d44\u6e90\uff0c\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u5b66\u4e60\u548c\u5e94\u7528Python\uff1a<\/p>\n<\/p>\n<p><h4>1. \u5728\u7ebf\u6559\u7a0b\u548c\u6587\u6863<\/h4>\n<\/p>\n<ul>\n<li><strong>Python\u5b98\u65b9\u6587\u6863<\/strong>\uff1aPython\u5b98\u65b9\u6587\u6863\u662f\u5b66\u4e60Python\u8bed\u8a00\u548c\u5e93\u7684\u6700\u4f73\u8d44\u6e90\u3002<\/li>\n<li><strong>\u5728\u7ebf\u8bfe\u7a0b<\/strong>\uff1aCoursera\u3001edX\u548cUdemy\u7b49\u5e73\u53f0\u63d0\u4f9b\u4e30\u5bcc\u7684Python\u8bfe\u7a0b\uff0c\u4ece\u5165\u95e8\u5230\u9ad8\u7ea7\u90fd\u6709\u8986\u76d6\u3002<\/li>\n<\/ul>\n<p><h4>2. \u5b9e\u8df5\u9879\u76ee<\/h4>\n<\/p>\n<ul>\n<li><strong>\u5c0f\u578b\u9879\u76ee<\/strong>\uff1a\u4ece\u7b80\u5355\u7684\u8ba1\u7b97\u5668\u3001\u65e5\u5386\u5e94\u7528\u7b49\u5c0f\u578b\u9879\u76ee\u5f00\u59cb\uff0c\u6709\u52a9\u4e8e\u5de9\u56fa\u7f16\u7a0b\u57fa\u7840\u3002<\/li>\n<li><strong>\u6570\u636e\u5206\u6790\u548c\u673a\u5668\u5b66\u4e60<\/strong>\uff1a\u4f7f\u7528Pandas\u3001NumPy\u3001Scikit-learn\u7b49\u5e93\u8fdb\u884c\u6570\u636e\u5206\u6790\u548c\u673a\u5668\u5b66\u4e60\u9879\u76ee\u3002<\/li>\n<\/ul>\n<p><h4>3. \u53c2\u4e0e\u5f00\u6e90\u793e\u533a<\/h4>\n<\/p>\n<ul>\n<li><strong>GitHub<\/strong>\uff1a\u5728GitHub\u4e0a\u53c2\u4e0e\u5f00\u6e90\u9879\u76ee\uff0c\u6709\u52a9\u4e8e\u63d0\u9ad8\u7f16\u7a0b\u6280\u80fd\u548c\u534f\u4f5c\u80fd\u529b\u3002<\/li>\n<li><strong>\u8bba\u575b\u548c\u793e\u7fa4<\/strong>\uff1a\u52a0\u5165Python\u76f8\u5173\u7684\u8bba\u575b\u548c\u793e\u7fa4\uff0c\u5982Stack Overflow\u3001Reddit\u7684Python\u677f\u5757\uff0c\u5411\u5176\u4ed6\u5f00\u53d1\u8005\u5b66\u4e60\u3002<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u5728\u5e73\u677f\u7535\u8111\u4e0a\u6210\u529f\u5b89\u88c5\u548c\u8fd0\u884cPython\uff0c\u5f00\u542f\u60a8\u7684\u7f16\u7a0b\u4e4b\u65c5\u3002\u65e0\u8bba\u662f\u901a\u8fc7\u5e94\u7528\u5546\u5e97\u4e0b\u8f7d\u89e3\u91ca\u5668\u3001\u4f7f\u7528\u4e91\u5e73\u53f0\u5728\u7ebf\u8fd0\u884c\u4ee3\u7801\uff0c\u8fd8\u662f\u901a\u8fc7Linux\u5b50\u7cfb\u7edf\u5b9e\u73b0\uff0c\u5173\u952e\u5728\u4e8e\u9009\u62e9\u6700\u9002\u5408\u60a8\u9700\u6c42\u7684\u65b9\u6cd5\uff0c\u5e76\u6301\u7eed\u5b66\u4e60\u548c\u5b9e\u8df5\uff0c\u4ee5\u63d0\u9ad8\u60a8\u7684\u7f16\u7a0b\u80fd\u529b\u548c\u9879\u76ee\u5f00\u53d1\u6c34\u5e73\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5e73\u677f\u7535\u8111\u80fd\u5426\u5b89\u88c5Python\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u5e73\u677f\u7535\u8111\u53ef\u4ee5\u5b89\u88c5Python\u3002\u8bb8\u591a\u5e73\u677f\u7535\u8111\u652f\u6301\u4e0b\u8f7d\u548c\u5b89\u88c5Python\u5f00\u53d1\u73af\u5883\uff0c\u5c24\u5176\u662f\u57fa\u4e8eAndroid\u6216iOS\u7cfb\u7edf\u7684\u8bbe\u5907\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u5e94\u7528\u5546\u5e97\u4e0b\u8f7d\u4e13\u95e8\u7684Python\u7f16\u7a0b\u5e94\u7528\uff0c\u6216\u8005\u4f7f\u7528\u5728\u7ebf\u7f16\u7a0b\u5e73\u53f0\u6765\u8fdb\u884cPython\u7f16\u7a0b\u3002<\/p>\n<p><strong>\u5728\u5e73\u677f\u7535\u8111\u4e0a\u5b89\u88c5Python\u9700\u8981\u54ea\u4e9b\u6b65\u9aa4\uff1f<\/strong><br \/>\u5b89\u88c5Python\u7684\u6b65\u9aa4\u901a\u5e38\u5305\u62ec\uff1a  <\/p>\n<ol>\n<li>\u5728\u8bbe\u5907\u4e0a\u6253\u5f00\u5e94\u7528\u5546\u5e97\uff08\u5982Google Play\u6216Apple App Store\uff09\u3002  <\/li>\n<li>\u641c\u7d22\u201cPython\u7f16\u7a0b\u201d\u6216\u201cPython IDE\u201d\u7b49\u5173\u952e\u8bcd\u3002  <\/li>\n<li>\u9009\u62e9\u5408\u9002\u7684\u5e94\u7528\u7a0b\u5e8f\u8fdb\u884c\u4e0b\u8f7d\u548c\u5b89\u88c5\u3002  <\/li>\n<li>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00\u5e94\u7528\u7a0b\u5e8f\uff0c\u5f00\u59cb\u521b\u5efa\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002<br \/>\u67d0\u4e9b\u5e94\u7528\u53ef\u80fd\u9700\u8981\u989d\u5916\u7684\u8bbe\u7f6e\uff0c\u786e\u4fdd\u6309\u7167\u5176\u63d0\u4f9b\u7684\u6307\u5357\u8fdb\u884c\u914d\u7f6e\u3002<\/li>\n<\/ol>\n<p><strong>\u4f7f\u7528\u5e73\u677f\u7535\u8111\u7f16\u5199Python\u4ee3\u7801\u6709\u4ec0\u4e48\u9650\u5236\u5417\uff1f<\/strong><br \/>\u4f7f\u7528\u5e73\u677f\u7535\u8111\u7f16\u5199Python\u4ee3\u7801\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u9650\u5236\u3002\u4f8b\u5982\uff0c\u5e73\u677f\u7535\u8111\u7684\u5c4f\u5e55\u8f83\u5c0f\uff0c\u4e0d\u5982\u7535\u8111\u65b9\u4fbf\u8fdb\u884c\u590d\u6742\u7684\u4ee3\u7801\u7f16\u8f91\u3002\u6b64\u5916\uff0c\u67d0\u4e9b\u5e93\u548c\u6846\u67b6\u53ef\u80fd\u4e0d\u5b8c\u5168\u652f\u6301\u79fb\u52a8\u8bbe\u5907\uff0c\u5f71\u54cd\u5f00\u53d1\u4f53\u9a8c\u3002\u4e0d\u8fc7\uff0c\u7b80\u5355\u7684\u9879\u76ee\u548c\u5b66\u4e60Python\u7684\u57fa\u7840\u77e5\u8bc6\u5728\u5e73\u677f\u7535\u8111\u4e0a\u662f\u5b8c\u5168\u53ef\u4ee5\u5b9e\u73b0\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728\u5e73\u677f\u7535\u8111\u4e0a\u5b89\u88c5Python\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u9002\u5408\u5e73\u677f\u7535\u8111\u64cd\u4f5c\u7cfb\u7edf\u7684\u5e94\u7528\u5546\u5e97\u4e0b\u8f7dPython\u89e3\u91ca\u5668\u5e94\u7528\u3001\u5229\u7528\u4e91\u5e73 [&hellip;]","protected":false},"author":3,"featured_media":1021971,"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\/1021963"}],"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=1021963"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1021963\/revisions"}],"predecessor-version":[{"id":1021973,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1021963\/revisions\/1021973"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1021971"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1021963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1021963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1021963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}