{"id":991806,"date":"2024-12-27T08:32:09","date_gmt":"2024-12-27T00:32:09","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/991806.html"},"modified":"2024-12-27T08:32:12","modified_gmt":"2024-12-27T00:32:12","slug":"%e8%8b%b9%e6%9e%9c%e5%b9%b3%e6%9d%bf%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/991806.html","title":{"rendered":"\u82f9\u679c\u5e73\u677f\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\/25065933\/7ebceab7-d5e2-46cc-a3d2-d7e6627cfde0.webp\" alt=\"\u82f9\u679c\u5e73\u677f\u5982\u4f55\u4f7f\u7528python\" \/><\/p>\n<p><p> <strong>\u82f9\u679c\u5e73\u677f\u4f7f\u7528Python\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5728\u7ebf\u7f16\u7a0b\u5e73\u53f0\u3001\u5b89\u88c5Python\u5e94\u7528\u7a0b\u5e8f\u3001\u901a\u8fc7SSH\u8fdc\u7a0b\u8fde\u63a5\u5230\u670d\u52a1\u5668\u3001\u4f7f\u7528Jupyter Notebook\u3002<\/strong>\u8fd9\u4e9b\u65b9\u6cd5\u5404\u6709\u4f18\u7f3a\u70b9\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u81ea\u8eab\u9700\u6c42\u548c\u4e60\u60ef\u9009\u62e9\u5408\u9002\u7684\u65b9\u5f0f\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u6bcf\u79cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528\u5728\u7ebf\u7f16\u7a0b\u5e73\u53f0<\/p>\n<\/p>\n<p><p>\u5728\u7ebf\u7f16\u7a0b\u5e73\u53f0\u4e3a\u82f9\u679c\u5e73\u677f\u7528\u6237\u63d0\u4f9b\u4e86\u4e00\u4e2a\u65b9\u4fbf\u5feb\u6377\u7684\u65b9\u5f0f\u6765\u8fd0\u884cPython\u4ee3\u7801\u3002\u5e38\u7528\u7684\u5e73\u53f0\u5305\u62ecReplit\u3001Google Colab\u548cJupyter Notebook\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Replit<\/strong>\uff1aReplit\u662f\u4e00\u4e2a\u591a\u529f\u80fd\u5728\u7ebf\u7f16\u7a0b\u5e73\u53f0\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ecPython\u3002\u7528\u6237\u53ea\u9700\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95eeReplit\u7684\u7f51\u7ad9\uff0c\u5c31\u53ef\u4ee5\u521b\u5efa\u3001\u7f16\u8f91\u548c\u8fd0\u884cPython\u9879\u76ee\u3002Replit\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684\u5f00\u53d1\u73af\u5883\uff0c\u5305\u62ec\u4ee3\u7801\u7f16\u8f91\u5668\u3001\u7ec8\u7aef\u548c\u6587\u4ef6\u7ba1\u7406\u5668\uff0c\u975e\u5e38\u9002\u5408\u521d\u5b66\u8005\u548c\u5e0c\u671b\u5feb\u901f\u6d4b\u8bd5\u4ee3\u7801\u7684\u5f00\u53d1\u8005\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Google Colab<\/strong>\uff1aGoogle Colab\u662f\u7531Google\u63d0\u4f9b\u7684\u514d\u8d39\u5728\u7ebfJupyter Notebook\u670d\u52a1\uff0c\u7528\u6237\u53ef\u4ee5\u5728\u5176\u4e2d\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002Colab\u652f\u6301GPU\u52a0\u901f\u548c\u4e0eGoogle Drive\u7684\u96c6\u6210\uff0c\u9002\u5408\u8fdb\u884c\u6df1\u5ea6\u5b66\u4e60\u548c\u6570\u636e\u79d1\u5b66\u9879\u76ee\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7iPad\u7684\u6d4f\u89c8\u5668\u8bbf\u95eeColab\uff0c\u5e76\u76f4\u63a5\u5728\u4e91\u7aef\u8fd0\u884c\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p><strong>\u9009\u62e9\u5728\u7ebf\u7f16\u7a0b\u5e73\u53f0\u7684\u4f18\u70b9\u662f\u65e0\u9700\u5b89\u88c5\u4efb\u4f55\u8f6f\u4ef6\uff0c\u7f3a\u70b9\u662f\u9700\u8981\u7a33\u5b9a\u7684\u7f51\u7edc\u8fde\u63a5\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u5b89\u88c5Python\u5e94\u7528\u7a0b\u5e8f<\/p>\n<\/p>\n<p><p>\u82f9\u679c\u5e94\u7528\u5546\u5e97\u4e2d\u6709\u591a\u6b3e\u652f\u6301Python\u7f16\u7a0b\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u8fd9\u4e9b\u5e94\u7528\u7a0b\u5e8f\u901a\u5e38\u63d0\u4f9b\u4e86\u4e00\u4e2a\u96c6\u6210\u7684\u5f00\u53d1\u73af\u5883\uff0c\u7528\u6237\u53ef\u4ee5\u5728iPad\u4e0a\u76f4\u63a5\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Pythonista<\/strong>\uff1aPythonista\u662f\u4e00\u6b3e\u5f3a\u5927\u7684Python\u7f16\u7a0b\u5e94\u7528\uff0c\u4e13\u4e3aiOS\u8bbe\u5907\u8bbe\u8ba1\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684Python\u5f00\u53d1\u73af\u5883\uff0c\u5305\u62ec\u4ee3\u7801\u7f16\u8f91\u5668\u3001\u8c03\u8bd5\u5de5\u5177\u548c\u7b2c\u4e09\u65b9\u5e93\u652f\u6301\u3002Pythonista\u8fd8\u652f\u6301\u4e0e\u5176\u4ed6iOS\u5e94\u7528\u7684\u96c6\u6210\uff0c\u7528\u6237\u53ef\u4ee5\u5229\u7528iOS\u8bbe\u5907\u7684\u786c\u4ef6\u529f\u80fd\uff08\u5982\u76f8\u673a\u548c\u4f20\u611f\u5668\uff09\u8fdb\u884c\u5f00\u53d1\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Pyto<\/strong>\uff1aPyto\u662f\u53e6\u4e00\u4e2a\u4e13\u4e3aiOS\u8bbe\u8ba1\u7684Python IDE\uff0c\u652f\u6301Python 3.8\u53ca\u4ee5\u4e0a\u7248\u672c\u3002Pyto\u63d0\u4f9b\u4e86\u8bb8\u591a\u79d1\u5b66\u8ba1\u7b97\u5e93\uff0c\u5982 NumPy \u548c Matplotlib\uff0c\u9002\u5408\u8fdb\u884c\u6570\u636e\u5206\u6790\u548c\u79d1\u5b66\u8ba1\u7b97\u3002\u7528\u6237\u53ef\u4ee5\u5728\u5e94\u7528\u4e2d\u76f4\u63a5\u8fd0\u884c\u811a\u672c\uff0c\u5e76\u67e5\u770b\u8f93\u51fa\u7ed3\u679c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p><strong>\u5b89\u88c5Python\u5e94\u7528\u7a0b\u5e8f\u7684\u4f18\u70b9\u662f\u53ef\u4ee5\u79bb\u7ebf\u4f7f\u7528\uff0c\u7f3a\u70b9\u662f\u53ef\u80fd\u4e0d\u652f\u6301\u67d0\u4e9b\u9ad8\u7ea7\u529f\u80fd\u6216\u7b2c\u4e09\u65b9\u5e93\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e09\u3001\u901a\u8fc7SSH\u8fdc\u7a0b\u8fde\u63a5\u5230\u670d\u52a1\u5668<\/p>\n<\/p>\n<p><p>\u901a\u8fc7SSH\u8fdc\u7a0b\u8fde\u63a5\u5230\u670d\u52a1\u5668\u662f\u4e00\u79cd\u7075\u6d3b\u4e14\u5f3a\u5927\u7684\u65b9\u5f0f\uff0c\u9002\u5408\u90a3\u4e9b\u9700\u8981\u5728\u670d\u52a1\u5668\u4e0a\u8fd0\u884cPython\u4ee3\u7801\u7684\u7528\u6237\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528Termius\u6216Prompt\u5e94\u7528<\/strong>\uff1aTermius\u548cPrompt\u662f\u4e24\u6b3e\u6d41\u884c\u7684SSH\u5ba2\u6237\u7aef\u5e94\u7528\uff0c\u652f\u6301\u5728iPad\u4e0a\u901a\u8fc7SSH\u8fde\u63a5\u5230\u8fdc\u7a0b\u670d\u52a1\u5668\u3002\u7528\u6237\u53ef\u4ee5\u5728\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Python\u73af\u5883\uff0c\u5e76\u901a\u8fc7SSH\u5728iPad\u4e0a\u8fdc\u7a0b\u7f16\u5199\u548c\u8fd0\u884c\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u901a\u8fc7SSH\u8bbf\u95ee\u4e91\u670d\u52a1<\/strong>\uff1a\u7528\u6237\u53ef\u4ee5\u5c06\u4ee3\u7801\u6258\u7ba1\u5728\u4e91\u670d\u52a1\uff08\u5982AWS\u3001Google Cloud\u6216Azure\uff09\u4e0a\uff0c\u5e76\u901a\u8fc7SSH\u8fde\u63a5\u8fdb\u884c\u5f00\u53d1\u3002\u8fd9\u79cd\u65b9\u5f0f\u5141\u8bb8\u7528\u6237\u5728\u4e91\u7aef\u4f7f\u7528\u5f3a\u5927\u7684\u8ba1\u7b97\u8d44\u6e90\uff0c\u540c\u65f6\u5728\u672c\u5730\u8bbe\u5907\u4e0a\u8fdb\u884c\u8f7b\u91cf\u7ea7\u7684\u7f16\u8f91\u548c\u63a7\u5236\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p><strong>\u901a\u8fc7SSH\u8fdc\u7a0b\u8fde\u63a5\u7684\u4f18\u70b9\u662f\u53ef\u4ee5\u5229\u7528\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u5f3a\u5927\u8ba1\u7b97\u80fd\u529b\uff0c\u7f3a\u70b9\u662f\u9700\u8981\u4e00\u5b9a\u7684\u7f51\u7edc\u548c\u670d\u52a1\u5668\u914d\u7f6e\u77e5\u8bc6\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u56db\u3001\u4f7f\u7528Jupyter Notebook<\/p>\n<\/p>\n<p><p>Jupyter Notebook\u662f\u4e00\u4e2a\u5e7f\u6cdb\u4f7f\u7528\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u652f\u6301Python\u7b49\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u3002\u7528\u6237\u53ef\u4ee5\u5728iPad\u4e0a\u4f7f\u7528Jupyter Notebook\u8fdb\u884c\u4ea4\u4e92\u5f0f\u7f16\u7a0b\u548c\u6570\u636e\u5206\u6790\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u901a\u8fc7JupyterHub\u6216Binder<\/strong>\uff1aJupyterHub\u548cBinder\u662f\u4e24\u4e2a\u53ef\u4ee5\u5728\u4e91\u4e2d\u8fd0\u884cJupyter Notebook\u7684\u670d\u52a1\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7iPad\u7684\u6d4f\u89c8\u5668\u8bbf\u95ee\u8fd9\u4e9b\u670d\u52a1\uff0c\u5e76\u5728\u5176\u4e2d\u521b\u5efa\u548c\u8fd0\u884cNotebook\u3002JupyterHub\u9002\u5408\u56e2\u961f\u534f\u4f5c\u548c\u6559\u5b66\u573a\u666f\uff0c\u800cBinder\u5219\u9002\u5408\u4e34\u65f6\u9879\u76ee\u548c\u5171\u4eabNotebook\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u672c\u5730\u8fd0\u884cJupyter Notebook<\/strong>\uff1a\u7528\u6237\u53ef\u4ee5\u5728\u672c\u5730\u670d\u52a1\u5668\u6216\u4e2a\u4eba\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884cJupyter Notebook\uff0c\u5e76\u901a\u8fc7iPad\u7684\u6d4f\u89c8\u5668\u8bbf\u95ee\u3002\u8fd9\u6837\uff0c\u7528\u6237\u53ef\u4ee5\u5728iPad\u4e0a\u8fdb\u884c\u4ea4\u4e92\u5f0f\u7f16\u7a0b\uff0c\u800c\u8ba1\u7b97\u8d44\u6e90\u5219\u7531\u672c\u5730\u8bbe\u5907\u63d0\u4f9b\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p><strong>\u4f7f\u7528Jupyter Notebook\u7684\u4f18\u70b9\u662f\u652f\u6301\u4ea4\u4e92\u5f0f\u7f16\u7a0b\u548c\u6570\u636e\u53ef\u89c6\u5316\uff0c\u7f3a\u70b9\u662f\u9700\u8981\u914d\u7f6e\u670d\u52a1\u5668\u6216\u4f9d\u8d56\u5728\u7ebf\u670d\u52a1\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0c\u82f9\u679c\u5e73\u677f\u4f7f\u7528Python\u7684\u65b9\u6cd5\u591a\u79cd\u591a\u6837\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u5f0f\u3002\u65e0\u8bba\u662f\u901a\u8fc7\u5728\u7ebf\u5e73\u53f0\u3001\u5e94\u7528\u7a0b\u5e8f\u3001SSH\u8fde\u63a5\uff0c\u8fd8\u662fJupyter Notebook\uff0c\u90fd\u53ef\u4ee5\u5728iPad\u4e0a\u5b9e\u73b0Python\u7f16\u7a0b\u7684\u9700\u6c42\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u72ec\u7279\u7684\u4f18\u70b9\u548c\u9002\u7528\u573a\u666f\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u7f16\u7a0b\u4e60\u60ef\u548c\u9879\u76ee\u9700\u6c42\u8fdb\u884c\u9009\u62e9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728\u82f9\u679c\u5e73\u677f\u4e0a\u5b89\u88c5Python\u73af\u5883\uff1f<\/strong><br \/>\u8981\u5728\u82f9\u679c\u5e73\u677f\u4e0a\u4f7f\u7528Python\uff0c\u60a8\u53ef\u4ee5\u4e0b\u8f7d\u4e00\u4e2a\u652f\u6301Python\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u5982Pythonista\u6216Carnets\u3002\u8fd9\u4e9b\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684Python\u5f00\u53d1\u73af\u5883\uff0c\u60a8\u53ef\u4ee5\u5728\u5176\u4e2d\u7f16\u5199\u3001\u8fd0\u884c\u548c\u8c03\u8bd5\u60a8\u7684Python\u4ee3\u7801\u3002\u5b89\u88c5\u540e\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728\u5e94\u7528\u4e2d\u521b\u5efa\u65b0\u6587\u4ef6\u5e76\u5f00\u59cb\u7f16\u7a0b\u3002<\/p>\n<p><strong>\u82f9\u679c\u5e73\u677f\u4e0a\u6709\u54ea\u4e9b\u63a8\u8350\u7684Python\u5b66\u4e60\u8d44\u6e90\uff1f<\/strong><br \/>\u5728\u82f9\u679c\u5e73\u677f\u4e0a\uff0c\u60a8\u53ef\u4ee5\u8bbf\u95ee\u591a\u79cd\u5b66\u4e60Python\u7684\u8d44\u6e90\u3002\u4f8b\u5982\uff0c\u5e94\u7528\u5546\u5e97\u4e2d\u6709\u4e00\u4e9b\u7f16\u7a0b\u5b66\u4e60\u5e94\u7528\uff0c\u5982SoloLearn\u548cPyto\uff0c\u5b83\u4eec\u63d0\u4f9b\u4e92\u52a8\u6559\u7a0b\u548c\u7ec3\u4e60\u3002\u6b64\u5916\uff0c\u7f51\u7edc\u4e0a\u8fd8\u6709\u8bb8\u591a\u514d\u8d39\u7684\u5728\u7ebf\u8bfe\u7a0b\u548c\u89c6\u9891\u6559\u7a0b\uff0c\u4f8b\u5982Coursera\u548cedX\u7b49\u5e73\u53f0\uff0c\u9002\u5408\u521d\u5b66\u8005\u548c\u8fdb\u9636\u8005\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u8fdb\u884c\u6570\u636e\u5206\u6790\u65f6\uff0c\u82f9\u679c\u5e73\u677f\u7684\u6027\u80fd\u5982\u4f55\uff1f<\/strong><br \/>\u867d\u7136\u82f9\u679c\u5e73\u677f\u5728\u6027\u80fd\u4e0a\u4e0d\u5982\u4f20\u7edf\u7684PC\u6216Mac\uff0c\u4f46\u5b83\u4ecd\u7136\u53ef\u4ee5\u8fdb\u884c\u57fa\u672c\u7684\u6570\u636e\u5206\u6790\u4efb\u52a1\u3002\u5982\u679c\u60a8\u7684\u6570\u636e\u96c6\u8f83\u5c0f\uff0c\u4f7f\u7528\u5982Pandas\u548cNumPy\u7684\u5e93\u5728\u5e73\u677f\u4e0a\u5904\u7406\u6570\u636e\u662f\u53ef\u884c\u7684\u3002\u7136\u800c\uff0c\u5bf9\u4e8e\u5927\u578b\u6570\u636e\u96c6\u6216\u590d\u6742\u7684\u8ba1\u7b97\u4efb\u52a1\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u6027\u80fd\u74f6\u9888\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u8003\u8651\u4f7f\u7528\u4e91\u8ba1\u7b97\u670d\u52a1\u6216\u5728\u66f4\u5f3a\u5927\u7684\u8bbe\u5907\u4e0a\u5904\u7406\u6570\u636e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u82f9\u679c\u5e73\u677f\u4f7f\u7528Python\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5728\u7ebf\u7f16\u7a0b\u5e73\u53f0\u3001\u5b89\u88c5Python\u5e94\u7528\u7a0b\u5e8f\u3001\u901a\u8fc7SSH\u8fdc\u7a0b\u8fde\u63a5\u5230\u670d\u52a1\u5668\u3001\u4f7f [&hellip;]","protected":false},"author":3,"featured_media":991818,"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\/991806"}],"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=991806"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/991806\/revisions"}],"predecessor-version":[{"id":991819,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/991806\/revisions\/991819"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/991818"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=991806"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=991806"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=991806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}