{"id":995591,"date":"2024-12-27T09:06:06","date_gmt":"2024-12-27T01:06:06","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/995591.html"},"modified":"2024-12-27T09:06:09","modified_gmt":"2024-12-27T01:06:09","slug":"%e6%89%8b%e6%9c%ba%e5%a6%82%e4%bd%95%e6%89%a7%e8%a1%8cpython%e8%84%9a%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/995591.html","title":{"rendered":"\u624b\u673a\u5982\u4f55\u6267\u884cpython\u811a\u672c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25072127\/8f52e2d5-afa0-4467-9ba2-fbc9b0a1365d.webp\" alt=\"\u624b\u673a\u5982\u4f55\u6267\u884cpython\u811a\u672c\" \/><\/p>\n<p><p> \u4e00\u3001\u624b\u673a\u6267\u884cPython\u811a\u672c\u7684\u65b9\u5f0f<\/p>\n<\/p>\n<p><p><strong>\u5728\u624b\u673a\u4e0a\u6267\u884cPython\u811a\u672c\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5Python\u7f16\u8bd1\u73af\u5883\u3001\u4f7f\u7528\u5728\u7ebfIDE\u3001\u501f\u52a9App\u7b49\u65b9\u5f0f\u6765\u5b9e\u73b0\u3002<\/strong>\u5176\u4e2d\uff0c\u6700\u5e38\u7528\u4e14\u65b9\u4fbf\u7684\u65b9\u5f0f\u662f\u901a\u8fc7\u5b89\u88c5Python\u7f16\u8bd1\u73af\u5883\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u79cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u5728\u624b\u673a\u4e0a\u5b89\u88c5Python\u7f16\u8bd1\u73af\u5883\u662f\u6700\u76f4\u63a5\u7684\u65b9\u5f0f\uff0c\u8fd9\u901a\u5e38\u901a\u8fc7\u4e0b\u8f7d\u4e13\u95e8\u7684\u5e94\u7528\u7a0b\u5e8f\u6765\u5b9e\u73b0\u3002\u4ee5Android\u7cfb\u7edf\u4e3a\u4f8b\uff0c\u53ef\u4ee5\u4f7f\u7528\u5e94\u7528\u5546\u5e97\u4e2d\u63d0\u4f9b\u7684Termux\u6216Pydroid3\u7b49\u5e94\u7528\u3002\u8fd9\u4e9b\u5e94\u7528\u4e3a\u624b\u673a\u63d0\u4f9b\u4e86\u4e00\u4e2aLinux\u7ec8\u7aef\u73af\u5883\uff0c\u4ece\u800c\u53ef\u4ee5\u5728\u624b\u673a\u4e0a\u8fd0\u884cPython\u811a\u672c\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ea\u9700\u5728\u5e94\u7528\u4e2d\u8f93\u5165Python\u547d\u4ee4\uff0c\u5373\u53ef\u8fd0\u884cPython\u811a\u672c\u3002\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u52bf\u5728\u4e8e\uff1a<strong>\u5b83\u4e0d\u9700\u8981\u4f9d\u8d56\u7f51\u7edc\u3001\u80fd\u591f\u652f\u6301\u591a\u79cdPython\u5e93\u3001\u9002\u5408\u5f00\u53d1\u8005\u8fdb\u884c\u590d\u6742\u7684\u8c03\u8bd5\u548c\u5f00\u53d1\u5de5\u4f5c<\/strong>\u3002<\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u63a2\u8ba8\u5176\u4ed6\u4e00\u4e9b\u65b9\u6cd5\u4ee5\u53ca\u5728\u624b\u673a\u4e0a\u8fd0\u884cPython\u811a\u672c\u7684\u66f4\u591a\u7ec6\u8282\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u5728\u7ebfIDE<\/p>\n<\/p>\n<p><p>\u5728\u7ebfIDE\uff08\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff09\u662f\u53e6\u4e00\u79cd\u5728\u624b\u673a\u4e0a\u6267\u884cPython\u811a\u672c\u7684\u4fbf\u6377\u65b9\u5f0f\u3002\u5b83\u4eec\u901a\u5e38\u4e0d\u9700\u8981\u5b89\u88c5\u4efb\u4f55\u5e94\u7528\uff0c\u53ea\u9700\u901a\u8fc7\u624b\u673a\u6d4f\u89c8\u5668\u8bbf\u95ee\u76f8\u5173\u7f51\u7ad9\u5373\u53ef\u8fdb\u884cPython\u7f16\u7a0b\u548c\u811a\u672c\u6267\u884c\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8bbf\u95ee\u5728\u7ebfIDE\u7f51\u7ad9<\/strong><\/p>\n<\/p>\n<p><p>\u6709\u8bb8\u591a\u5728\u7ebfIDE\u5e73\u53f0\u652f\u6301Python\u7f16\u7a0b\uff0c\u5982Repl.it\u3001Google Colab\u548cPythonAnywhere\u3002\u901a\u8fc7\u624b\u673a\u6d4f\u89c8\u5668\u8bbf\u95ee\u8fd9\u4e9b\u7f51\u7ad9\u540e\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\u6216\u9879\u76ee\uff0c\u5c31\u53ef\u4ee5\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002\u5728\u7ebfIDE\u901a\u5e38\u63d0\u4f9b\u4e00\u4e2a\u53cb\u597d\u7684\u7528\u6237\u754c\u9762\uff0c\u5e76\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u3002\u4f7f\u7528\u8fd9\u4e9b\u5e73\u53f0\u7684\u4f18\u70b9\u5728\u4e8e\uff1a<strong>\u53ef\u4ee5\u968f\u65f6\u968f\u5730\u4f7f\u7528\u3001\u4e0d\u4f9d\u8d56\u4e8e\u8bbe\u5907\u7684\u8ba1\u7b97\u80fd\u529b\u3001\u9002\u5408\u521d\u5b66\u8005\u548c\u8f7b\u91cf\u7ea7\u4efb\u52a1<\/strong>\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6ce8\u610f\u4e8b\u9879<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u7ebfIDE\u7684\u52a3\u52bf\u5305\u62ec\u5bf9\u7f51\u7edc\u7684\u4f9d\u8d56\u6027\u548c\u53ef\u80fd\u7684\u6027\u80fd\u9650\u5236\u3002\u6b64\u5916\uff0c\u5728\u7ebfIDE\u53ef\u80fd\u5728\u624b\u673a\u5c0f\u5c4f\u5e55\u4e0a\u4e0d\u591f\u53cb\u597d\uff0c\u5f71\u54cd\u7f16\u7a0b\u4f53\u9a8c\u3002\u56e0\u6b64\uff0c\u8fd9\u79cd\u65b9\u5f0f\u66f4\u9002\u5408\u4e34\u65f6\u4f7f\u7528\u6216\u5904\u7406\u8f83\u5c0f\u7684Python\u811a\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4f7f\u7528Python\u76f8\u5173\u5e94\u7528<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u5b89\u88c5\u5b8c\u6574\u7684Python\u7f16\u8bd1\u73af\u5883\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u4e13\u95e8\u7684\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u5e2e\u52a9\u5728\u624b\u673a\u4e0a\u6267\u884cPython\u811a\u672c\u3002\u8fd9\u4e9b\u5e94\u7528\u7a0b\u5e8f\u901a\u5e38\u63d0\u4f9b\u66f4\u4e3a\u7b80\u5316\u7684\u754c\u9762\u548c\u529f\u80fd\uff0c\u9002\u5408\u975e\u4e13\u4e1a\u7528\u6237\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Pydroid 3<\/strong><\/p>\n<\/p>\n<p><p>Pydroid 3\u662f\u4e00\u6b3e\u5728Android\u8bbe\u5907\u4e0a\u8fd0\u884cPython\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684Python 3\u73af\u5883\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u5e94\u7528\u4e2d\u7684\u4ee3\u7801\u7f16\u8f91\u5668\u7f16\u5199Python\u811a\u672c\uff0c\u5e76\u901a\u8fc7\u5185\u7f6e\u7684\u7ec8\u7aef\u8fd0\u884c\u4ee3\u7801\u3002Pydroid 3\u8fd8\u652f\u6301\u8bb8\u591a\u5e38\u7528\u7684Python\u5e93\uff0c\u5982Numpy\u548cMatplotlib\uff0c\u975e\u5e38\u9002\u5408\u8fdb\u884c\u79d1\u5b66\u8ba1\u7b97\u548c\u6570\u636e\u53ef\u89c6\u5316\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>QPython<\/strong><\/p>\n<\/p>\n<p><p>QPython\u662f\u53e6\u4e00\u6b3e\u6d41\u884c\u7684Python\u7f16\u7a0b\u5de5\u5177\uff0c\u5b83\u4e0d\u4ec5\u652f\u6301Python\u811a\u672c\u6267\u884c\uff0c\u8fd8\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u6269\u5c55\u5e93\uff0c\u9002\u5408\u8fdb\u884c\u5404\u7c7bPython\u5f00\u53d1\u3002QPython\u63d0\u4f9b\u4e86\u4e00\u4e2a\u96c6\u6210\u7684\u7f16\u8f91\u5668\u548c\u7ec8\u7aef\uff0c\u7528\u6237\u53ef\u4ee5\u5728\u5e94\u7528\u5185\u76f4\u63a5\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u901a\u8fc7SSH\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668<\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u5e0c\u671b\u5728\u624b\u673a\u4e0a\u8fdb\u884c\u66f4\u590d\u6742\u7684Python\u5f00\u53d1\u7684\u7528\u6237\uff0c\u53ef\u4ee5\u901a\u8fc7SSH\u8fde\u63a5\u5230\u8fdc\u7a0b\u670d\u52a1\u5668\uff0c\u4ee5\u5b9e\u73b0\u9ad8\u6027\u80fd\u7684Python\u811a\u672c\u6267\u884c\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u914d\u7f6eSSH\u5ba2\u6237\u7aef<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u624b\u673a\u4e0a\u5b89\u88c5SSH\u5ba2\u6237\u7aef\u5e94\u7528\uff08\u5982Termius\u6216JuiceSSH\uff09\uff0c\u5e76\u914d\u7f6e\u8fde\u63a5\u5230\u76ee\u6807\u670d\u52a1\u5668\u7684SSH\u8fde\u63a5\u3002\u901a\u8fc7SSH\u8fde\u63a5\uff0c\u7528\u6237\u53ef\u4ee5\u8bbf\u95ee\u670d\u52a1\u5668\u4e0a\u7684\u5b8c\u6574Python\u73af\u5883\uff0c\u5e76\u8fd0\u884c\u4efb\u4f55\u6240\u9700\u7684Python\u811a\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f18\u70b9\u548c\u5c40\u9650\u6027<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528SSH\u8fde\u63a5\u7684\u4f18\u70b9\u5728\u4e8e\uff0c\u7528\u6237\u53ef\u4ee5\u5229\u7528\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u8ba1\u7b97\u8d44\u6e90\u6765\u8fd0\u884c\u590d\u6742\u7684Python\u7a0b\u5e8f\uff0c\u800c\u4e0d\u53d7\u624b\u673a\u6027\u80fd\u9650\u5236\u3002\u7136\u800c\uff0c\u8fd9\u79cd\u65b9\u6cd5\u9700\u8981\u7a33\u5b9a\u7684\u7f51\u7edc\u8fde\u63a5\u548c\u5bf9SSH\u7684\u57fa\u672c\u4e86\u89e3\uff0c\u56e0\u6b64\u66f4\u9002\u5408\u6709\u4e00\u5b9a\u6280\u672f\u80cc\u666f\u7684\u7528\u6237\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u603b\u7ed3\u4e0e\u5efa\u8bae<\/p>\n<\/p>\n<p><p>\u5728\u624b\u673a\u4e0a\u6267\u884cPython\u811a\u672c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4f9b\u9009\u62e9\uff0c\u5177\u4f53\u9009\u62e9\u53d6\u51b3\u4e8e\u7528\u6237\u7684\u9700\u6c42\u548c\u6280\u672f\u6c34\u5e73\u3002\u5bf9\u4e8e\u5e0c\u671b\u8fdb\u884c\u7b80\u5355\u811a\u672c\u6267\u884c\u7684\u7528\u6237\uff0c\u5728\u7ebfIDE\u6216Python\u76f8\u5173\u5e94\u7528\u662f\u4e0d\u9519\u7684\u9009\u62e9\uff1b\u800c\u5bf9\u4e8e\u9700\u8981\u8fdb\u884c\u590d\u6742\u5f00\u53d1\u7684\u7528\u6237\uff0c\u5b89\u88c5Python\u7f16\u8bd1\u73af\u5883\u6216\u4f7f\u7528SSH\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668\u53ef\u80fd\u66f4\u4e3a\u5408\u9002\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u91cd\u8981\u7684\u662f\u6839\u636e\u5b9e\u9645\u9700\u6c42\u548c\u6761\u4ef6\u505a\u51fa\u5408\u9002\u7684\u51b3\u5b9a\uff0c\u4ee5\u4fbf\u9ad8\u6548\u5730\u5728\u624b\u673a\u4e0a\u8fdb\u884cPython\u7f16\u7a0b\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728\u624b\u673a\u4e0a\u5b89\u88c5Python\u73af\u5883\u4ee5\u6267\u884c\u811a\u672c\uff1f<\/strong><br \/>\u8981\u5728\u624b\u673a\u4e0a\u6267\u884cPython\u811a\u672c\uff0c\u60a8\u53ef\u4ee5\u9009\u62e9\u5b89\u88c5\u4e13\u95e8\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f8b\u5982Pydroid 3\uff08\u9002\u7528\u4e8eAndroid\uff09\u6216Pythonista\uff08\u9002\u7528\u4e8eiOS\uff09\u3002\u8fd9\u4e9b\u5e94\u7528\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684Python\u73af\u5883\uff0c\u5141\u8bb8\u60a8\u7f16\u5199\u548c\u6267\u884c\u4ee3\u7801\u3002\u540c\u65f6\uff0c\u60a8\u4e5f\u53ef\u4ee5\u901a\u8fc7Termux\uff08\u9002\u7528\u4e8eAndroid\uff09\u5b89\u88c5Python\uff0c\u4eab\u53d7\u66f4\u63a5\u8fd1\u4e8eLinux\u7684\u4f53\u9a8c\u3002\u6839\u636e\u60a8\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u9009\u62e9\u5408\u9002\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u6309\u7167\u6307\u5f15\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<p><strong>\u5728\u624b\u673a\u4e0a\u6267\u884cPython\u811a\u672c\u9700\u8981\u6ce8\u610f\u54ea\u4e9b\u4e8b\u9879\uff1f<\/strong><br \/>\u5728\u624b\u673a\u4e0a\u6267\u884cPython\u811a\u672c\u65f6\uff0c\u9700\u6ce8\u610f\u8bbe\u5907\u7684\u6027\u80fd\u9650\u5236\u3002\u624b\u673a\u7684\u5904\u7406\u80fd\u529b\u548c\u5185\u5b58\u901a\u5e38\u4e0d\u5982\u7535\u8111\uff0c\u56e0\u6b64\u5efa\u8bae\u7f16\u5199\u7684\u811a\u672c\u5e94\u5c3d\u91cf\u7b80\u5355\uff0c\u907f\u514d\u590d\u6742\u7684\u8ba1\u7b97\u548c\u5927\u91cf\u6570\u636e\u5904\u7406\u3002\u6b64\u5916\uff0c\u786e\u4fdd\u60a8\u7684\u624b\u673a\u6709\u8db3\u591f\u7684\u5b58\u50a8\u7a7a\u95f4\uff0c\u4ee5\u4fbf\u5b89\u88c5\u6240\u9700\u7684\u5e93\u548c\u6a21\u5757\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728\u624b\u673a\u4e0a\u8c03\u8bd5Python\u811a\u672c\uff1f<\/strong><br \/>\u5728\u624b\u673a\u4e0a\u8c03\u8bd5Python\u811a\u672c\u53ef\u4ee5\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u63d0\u4f9b\u7684\u8c03\u8bd5\u5de5\u5177\u3002\u4f8b\u5982\uff0cPydroid 3\u548cPythonista\u90fd\u63d0\u4f9b\u4e86\u4ee3\u7801\u9ad8\u4eae\u3001\u9519\u8bef\u63d0\u793a\u548c\u8c03\u8bd5\u529f\u80fd\u3002\u60a8\u53ef\u4ee5\u9010\u884c\u6267\u884c\u4ee3\u7801\uff0c\u67e5\u770b\u53d8\u91cf\u7684\u503c\uff0c\u4ece\u800c\u66f4\u597d\u5730\u7406\u89e3\u4ee3\u7801\u7684\u8fd0\u884c\u60c5\u51b5\u3002\u5bf9\u4e8e\u66f4\u590d\u6742\u7684\u8c03\u8bd5\u9700\u6c42\uff0c\u53ef\u4ee5\u5c06\u4ee3\u7801\u5728\u7535\u8111\u4e0a\u8c03\u8bd5\u5b8c\u6210\u540e\uff0c\u518d\u8f6c\u79fb\u5230\u624b\u673a\u4e0a\u6267\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4e00\u3001\u624b\u673a\u6267\u884cPython\u811a\u672c\u7684\u65b9\u5f0f \u5728\u624b\u673a\u4e0a\u6267\u884cPython\u811a\u672c\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5Python\u7f16\u8bd1\u73af\u5883\u3001\u4f7f\u7528\u5728\u7ebfID [&hellip;]","protected":false},"author":3,"featured_media":995597,"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\/995591"}],"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=995591"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/995591\/revisions"}],"predecessor-version":[{"id":995598,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/995591\/revisions\/995598"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/995597"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=995591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=995591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=995591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}