{"id":1040855,"date":"2024-12-31T12:44:24","date_gmt":"2024-12-31T04:44:24","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1040855.html"},"modified":"2024-12-31T12:44:26","modified_gmt":"2024-12-31T04:44:26","slug":"python%e8%84%9a%e6%9c%ac%e5%a6%82%e4%bd%95%e5%9c%a8%e6%89%8b%e6%9c%ba%e8%bf%90%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1040855.html","title":{"rendered":"python\u811a\u672c\u5982\u4f55\u5728\u624b\u673a\u8fd0\u884c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/dc072eb6-95e2-483d-8003-52404f152af2.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"python\u811a\u672c\u5982\u4f55\u5728\u624b\u673a\u8fd0\u884c\" \/><\/p>\n<p><p> <strong>\u8981\u5728\u624b\u673a\u4e0a\u8fd0\u884cPython\u811a\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u5b89\u88c5Python\u5e94\u7528\u3001\u4f7f\u7528\u5728\u7ebfPython\u7f16\u8bd1\u5668\u3001\u5b89\u88c5Termux\u3001\u4f7f\u7528Pydroid 3\u3002<\/strong> \u5176\u4e2d\uff0c<strong>\u5b89\u88c5Termux<\/strong> \u662f\u4e00\u4e2a\u975e\u5e38\u7075\u6d3b\u4e14\u5f3a\u5927\u7684\u65b9\u6cd5\u3002\u8ba9\u6211\u4eec\u8be6\u7ec6\u8ba8\u8bba\u4e00\u4e0b\u5982\u4f55\u5728\u624b\u673a\u4e0a\u8fd0\u884cPython\u811a\u672c\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b89\u88c5Python\u5e94\u7528<\/p>\n<\/p>\n<p><p>\u5b89\u88c5Python\u5e94\u7528\u662f\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\u3002\u5e02\u9762\u4e0a\u6709\u5f88\u591a\u4e13\u4e3a\u624b\u673a\u8bbe\u8ba1\u7684Python\u5e94\u7528\uff0c\u6bd4\u5982QPython\u3001Pydroid 3\u7b49\u3002\u901a\u8fc7\u8fd9\u4e9b\u5e94\u7528\uff0c\u7528\u6237\u53ef\u4ee5\u5728\u624b\u673a\u4e0a\u7f16\u5199\u3001\u8c03\u8bd5\u548c\u8fd0\u884cPython\u811a\u672c\u3002<\/p>\n<\/p>\n<p><h3>QPython<\/h3>\n<\/p>\n<p><p>QPython\u662f\u4e00\u6b3e\u5f3a\u5927\u7684Python\u5f00\u53d1\u5de5\u5177\uff0c\u652f\u6301Python 2\u548cPython 3\u3002\u5b83\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684Python\u73af\u5883\uff0c\u53ef\u4ee5\u8fd0\u884cPython\u811a\u672c\u548c\u9879\u76ee\u3002\u4ee5\u4e0b\u662f\u5b89\u88c5\u548c\u4f7f\u7528QPython\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u4e0b\u8f7d\u5e76\u5b89\u88c5QPython<\/strong>\uff1a\u5728Google Play\u5546\u5e97\u4e2d\u641c\u7d22\u201cQPython\u201d\uff0c\u9009\u62e9\u5408\u9002\u7684\u7248\u672c\u8fdb\u884c\u5b89\u88c5\u3002<\/li>\n<li><strong>\u6253\u5f00QPython<\/strong>\uff1a\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00QPython\u5e94\u7528\u3002\u4f60\u4f1a\u770b\u5230\u4e00\u4e2a\u7c7b\u4f3c\u4e8e\u684c\u9762\u7684\u754c\u9762\uff0c\u4e0a\u9762\u6709\u51e0\u4e2a\u9009\u9879\uff0c\u5305\u62ec\u201cEditor\u201d\u3001\u201cConsole\u201d\u3001\u201cPrograms\u201d\u7b49\u3002<\/li>\n<li><strong>\u521b\u5efa\u65b0\u811a\u672c<\/strong>\uff1a\u70b9\u51fb\u201cEditor\u201d\uff0c\u7136\u540e\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201c+\u201d\u53f7\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u811a\u672c\u3002<\/li>\n<li><strong>\u7f16\u5199\u4ee3\u7801<\/strong>\uff1a\u5728\u7f16\u8f91\u5668\u4e2d\u7f16\u5199\u4f60\u7684Python\u4ee3\u7801\u3002\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201c\u4fdd\u5b58\u201d\u56fe\u6807\uff0c\u5c06\u811a\u672c\u4fdd\u5b58\u5230\u4f60\u7684\u624b\u673a\u5b58\u50a8\u4e2d\u3002<\/li>\n<li><strong>\u8fd0\u884c\u811a\u672c<\/strong>\uff1a\u8fd4\u56deQPython\u4e3b\u754c\u9762\uff0c\u9009\u62e9\u201cPrograms\u201d\uff0c\u627e\u5230\u4f60\u4fdd\u5b58\u7684\u811a\u672c\uff0c\u7136\u540e\u70b9\u51fb\u8fd0\u884c\u3002<\/li>\n<\/ol>\n<p><p><strong>QPython<\/strong>\u7684\u4f18\u70b9\u662f\u754c\u9762\u53cb\u597d\uff0c\u529f\u80fd\u5f3a\u5927\uff0c\u652f\u6301\u591a\u79cdPython\u5e93\uff0c\u9002\u5408\u521d\u5b66\u8005\u548c\u6709\u4e00\u5b9a\u7ecf\u9a8c\u7684\u5f00\u53d1\u8005\u3002<\/p>\n<\/p>\n<p><h3>Pydroid 3<\/h3>\n<\/p>\n<p><p>Pydroid 3\u662f\u53e6\u4e00\u6b3e\u53d7\u6b22\u8fce\u7684Python\u5f00\u53d1\u5e94\u7528\uff0c\u4e13\u4e3aAndroid\u8bbe\u5907\u8bbe\u8ba1\u3002\u5b83\u652f\u6301Python 3\uff0c\u5e76\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684\u5f00\u53d1\u73af\u5883\uff0c\u5305\u62ec\u7f16\u8f91\u5668\u3001\u63a7\u5236\u53f0\u548c\u5305\u7ba1\u7406\u5668\u3002\u4ee5\u4e0b\u662f\u5b89\u88c5\u548c\u4f7f\u7528Pydroid 3\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u4e0b\u8f7d\u5e76\u5b89\u88c5Pydroid 3<\/strong>\uff1a\u5728Google Play\u5546\u5e97\u4e2d\u641c\u7d22\u201cPydroid 3\u201d\uff0c\u4e0b\u8f7d\u5e76\u5b89\u88c5\u5e94\u7528\u3002<\/li>\n<li><strong>\u6253\u5f00Pydroid 3<\/strong>\uff1a\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00Pydroid 3\u5e94\u7528\u3002\u4f60\u4f1a\u770b\u5230\u4e00\u4e2a\u7b80\u6d01\u7684\u754c\u9762\uff0c\u5305\u62ec\u7f16\u8f91\u5668\u548c\u63a7\u5236\u53f0\u3002<\/li>\n<li><strong>\u521b\u5efa\u65b0\u811a\u672c<\/strong>\uff1a\u70b9\u51fb\u201cEditor\u201d\u9009\u9879\uff0c\u7136\u540e\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201c+\u201d\u53f7\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u811a\u672c\u3002<\/li>\n<li><strong>\u7f16\u5199\u4ee3\u7801<\/strong>\uff1a\u5728\u7f16\u8f91\u5668\u4e2d\u7f16\u5199\u4f60\u7684Python\u4ee3\u7801\u3002\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201c\u4fdd\u5b58\u201d\u56fe\u6807\uff0c\u5c06\u811a\u672c\u4fdd\u5b58\u5230\u4f60\u7684\u624b\u673a\u5b58\u50a8\u4e2d\u3002<\/li>\n<li><strong>\u8fd0\u884c\u811a\u672c<\/strong>\uff1a\u70b9\u51fb\u201cRun\u201d\u6309\u94ae\uff0cPydroid 3\u4f1a\u5728\u63a7\u5236\u53f0\u4e2d\u8fd0\u884c\u4f60\u7684\u811a\u672c\uff0c\u5e76\u663e\u793a\u8f93\u51fa\u7ed3\u679c\u3002<\/li>\n<\/ol>\n<p><p><strong>Pydroid 3<\/strong>\u7684\u4f18\u70b9\u662f\u64cd\u4f5c\u7b80\u5355\uff0c\u652f\u6301\u5927\u591a\u6570Python\u5e93\uff0c\u9002\u5408\u521d\u5b66\u8005\u548c\u6709\u4e00\u5b9a\u7ecf\u9a8c\u7684\u5f00\u53d1\u8005\u3002\u5b83\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5305\u7ba1\u7406\u5668\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u5b89\u88c5\u548c\u7ba1\u7406\u7b2c\u4e09\u65b9\u5e93\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u5728\u7ebfPython\u7f16\u8bd1\u5668<\/p>\n<\/p>\n<p><p>\u5728\u7ebfPython\u7f16\u8bd1\u5668\u662f\u4e00\u79cd\u65e0\u9700\u5b89\u88c5\u4efb\u4f55\u5e94\u7528\u7684\u4fbf\u6377\u65b9\u6cd5\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u624b\u673a\u6d4f\u89c8\u5668\u8bbf\u95ee\u8fd9\u4e9b\u5728\u7ebf\u7f16\u8bd1\u5668\uff0c\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u5728\u7ebfPython\u7f16\u8bd1\u5668\uff1a<\/p>\n<\/p>\n<p><h3>Repl.it<\/h3>\n<\/p>\n<p><p>Repl.it\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684\u5728\u7ebf\u7f16\u7a0b\u5e73\u53f0\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ecPython\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528Repl.it\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u6253\u5f00Repl.it\u7f51\u7ad9<\/strong>\uff1a\u5728\u624b\u673a\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee<a href=\"https:\/\/repl.it%E3%80%82\">https:\/\/repl.it\u3002<\/a><\/li>\n<li><strong>\u521b\u5efa\u65b0\u9879\u76ee<\/strong>\uff1a\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201cSign Up\u201d\u6309\u94ae\uff0c\u6ce8\u518c\u4e00\u4e2a\u8d26\u53f7\u3002\u767b\u5f55\u540e\uff0c\u70b9\u51fb\u201cCreate\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201cPython\u201d\u4f5c\u4e3a\u7f16\u7a0b\u8bed\u8a00\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u9879\u76ee\u3002<\/li>\n<li><strong>\u7f16\u5199\u4ee3\u7801<\/strong>\uff1a\u5728\u7f16\u8f91\u5668\u4e2d\u7f16\u5199\u4f60\u7684Python\u4ee3\u7801\u3002\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201cRun\u201d\u6309\u94ae\uff0cRepl.it\u4f1a\u5728\u4e0b\u65b9\u7684\u63a7\u5236\u53f0\u4e2d\u8fd0\u884c\u4f60\u7684\u4ee3\u7801\uff0c\u5e76\u663e\u793a\u8f93\u51fa\u7ed3\u679c\u3002<\/li>\n<\/ol>\n<p><p><strong>Repl.it<\/strong>\u7684\u4f18\u70b9\u662f\u65e0\u9700\u5b89\u88c5\u4efb\u4f55\u5e94\u7528\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u9002\u5408\u521d\u5b66\u8005\u548c\u6709\u4e00\u5b9a\u7ecf\u9a8c\u7684\u5f00\u53d1\u8005\u3002\u5b83\u8fd8\u63d0\u4f9b\u4e86\u534f\u4f5c\u7f16\u7a0b\u529f\u80fd\uff0c\u65b9\u4fbf\u56e2\u961f\u5408\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>Trinket<\/h3>\n<\/p>\n<p><p>Trinket\u662f\u53e6\u4e00\u6b3e\u53d7\u6b22\u8fce\u7684\u5728\u7ebf\u7f16\u7a0b\u5e73\u53f0\uff0c\u652f\u6301Python\u7f16\u7a0b\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528Trinket\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u6253\u5f00Trinket\u7f51\u7ad9<\/strong>\uff1a\u5728\u624b\u673a\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee<a href=\"https:\/\/trinket.io%E3%80%82\">https:\/\/trinket.io\u3002<\/a><\/li>\n<li><strong>\u521b\u5efa\u65b0\u9879\u76ee<\/strong>\uff1a\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201cSign Up\u201d\u6309\u94ae\uff0c\u6ce8\u518c\u4e00\u4e2a\u8d26\u53f7\u3002\u767b\u5f55\u540e\uff0c\u70b9\u51fb\u201cNew Trinket\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201cPython\u201d\u4f5c\u4e3a\u7f16\u7a0b\u8bed\u8a00\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u9879\u76ee\u3002<\/li>\n<li><strong>\u7f16\u5199\u4ee3\u7801<\/strong>\uff1a\u5728\u7f16\u8f91\u5668\u4e2d\u7f16\u5199\u4f60\u7684Python\u4ee3\u7801\u3002\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201cRun\u201d\u6309\u94ae\uff0cTrinket\u4f1a\u5728\u4e0b\u65b9\u7684\u63a7\u5236\u53f0\u4e2d\u8fd0\u884c\u4f60\u7684\u4ee3\u7801\uff0c\u5e76\u663e\u793a\u8f93\u51fa\u7ed3\u679c\u3002<\/li>\n<\/ol>\n<p><p><strong>Trinket<\/strong>\u7684\u4f18\u70b9\u662f\u65e0\u9700\u5b89\u88c5\u4efb\u4f55\u5e94\u7528\uff0c\u754c\u9762\u7b80\u6d01\uff0c\u64cd\u4f5c\u7b80\u5355\uff0c\u9002\u5408\u521d\u5b66\u8005\u548c\u6709\u4e00\u5b9a\u7ecf\u9a8c\u7684\u5f00\u53d1\u8005\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u5b89\u88c5Termux<\/p>\n<\/p>\n<p><p><strong>Termux<\/strong> \u662f\u4e00\u4e2aAndroid\u7ec8\u7aef\u6a21\u62df\u5668\u548cLinux\u73af\u5883\u5e94\u7528\u3002\u5b83\u5141\u8bb8\u7528\u6237\u5728Android\u8bbe\u5907\u4e0a\u8fd0\u884c\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u5305\u62ecPython\u3002\u4f7f\u7528Termux\uff0c\u7528\u6237\u53ef\u4ee5\u5b89\u88c5Python\u89e3\u91ca\u5668\u548c\u5404\u79cdPython\u5e93\uff0c\u5e76\u5728\u624b\u673a\u4e0a\u7f16\u5199\u548c\u8fd0\u884cPython\u811a\u672c\u3002\u4ee5\u4e0b\u662f\u5b89\u88c5\u548c\u4f7f\u7528Termux\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u4e0b\u8f7d\u5e76\u5b89\u88c5Termux<\/strong>\uff1a\u5728Google Play\u5546\u5e97\u4e2d\u641c\u7d22\u201cTermux\u201d\uff0c\u4e0b\u8f7d\u5e76\u5b89\u88c5\u5e94\u7528\u3002<\/li>\n<li><strong>\u6253\u5f00Termux<\/strong>\uff1a\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00Termux\u5e94\u7528\u3002\u4f60\u4f1a\u770b\u5230\u4e00\u4e2a\u547d\u4ee4\u884c\u754c\u9762\u3002<\/li>\n<li><strong>\u66f4\u65b0\u5e76\u5347\u7ea7\u5305\u7ba1\u7406\u5668<\/strong>\uff1a\u5728Termux\u547d\u4ee4\u884c\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff0c\u66f4\u65b0\u5e76\u5347\u7ea7\u5305\u7ba1\u7406\u5668\uff1a\n<pre><code class=\"language-bash\">pkg update<\/p>\n<p>pkg upgrade<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u5b89\u88c5Python<\/strong>\uff1a\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff0c\u5b89\u88c5Python\u89e3\u91ca\u5668\uff1a\n<pre><code class=\"language-bash\">pkg install python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff0c\u9a8c\u8bc1Python\u662f\u5426\u5b89\u88c5\u6210\u529f\uff1a<\/p>\n<pre><code class=\"language-bash\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u521b\u5efa\u548c\u8fd0\u884cPython\u811a\u672c<\/strong>\uff1a\u5728Termux\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4efb\u610f\u6587\u672c\u7f16\u8f91\u5668\uff08\u4f8b\u5982nano\u3001vim\uff09\u521b\u5efaPython\u811a\u672c\u3002\u4f8b\u5982\uff0c\u4f7f\u7528nano\u521b\u5efa\u4e00\u4e2a\u540d\u4e3ahello.py\u7684\u811a\u672c\uff1a\n<pre><code class=\"language-bash\">nano hello.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u5728\u7f16\u8f91\u5668\u4e2d\u7f16\u5199\u4f60\u7684Python\u4ee3\u7801\uff0c\u4f8b\u5982\uff1a<\/p>\n<pre><code class=\"language-python\">print(&quot;Hello, world!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u4fdd\u5b58\u5e76\u9000\u51fa\u7f16\u8f91\u5668\u540e\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u8fd0\u884c\u811a\u672c\uff1a<\/p>\n<pre><code class=\"language-bash\">python hello.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p><strong>Termux<\/strong> \u7684\u4f18\u70b9\u662f\u529f\u80fd\u5f3a\u5927\uff0c\u7075\u6d3b\u6027\u9ad8\uff0c\u9002\u5408\u6709\u4e00\u5b9a\u7ecf\u9a8c\u7684\u5f00\u53d1\u8005\u3002\u5b83\u4e0d\u4ec5\u652f\u6301Python\uff0c\u8fd8\u652f\u6301\u5176\u4ed6\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u548c\u547d\u4ee4\u884c\u5de5\u5177\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u4f7f\u7528Pydroid 3<\/p>\n<\/p>\n<p><p>Pydroid 3 \u662f\u4e00\u4e2a\u9002\u7528\u4e8eAndroid\u8bbe\u5907\u7684Python IDE\uff0c\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5728\u624b\u673a\u4e0a\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002\u4ee5\u4e0b\u662f\u5b89\u88c5\u548c\u4f7f\u7528Pydroid 3\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u4e0b\u8f7d\u5e76\u5b89\u88c5Pydroid 3<\/strong>\uff1a\u5728Google Play\u5546\u5e97\u4e2d\u641c\u7d22\u201cPydroid 3\u201d\uff0c\u4e0b\u8f7d\u5e76\u5b89\u88c5\u5e94\u7528\u3002<\/li>\n<li><strong>\u6253\u5f00Pydroid 3<\/strong>\uff1a\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00Pydroid 3\u5e94\u7528\u3002\u4f60\u4f1a\u770b\u5230\u4e00\u4e2a\u7b80\u6d01\u7684\u754c\u9762\uff0c\u5305\u62ec\u7f16\u8f91\u5668\u548c\u63a7\u5236\u53f0\u3002<\/li>\n<li><strong>\u521b\u5efa\u65b0\u811a\u672c<\/strong>\uff1a\u70b9\u51fb\u201cEditor\u201d\u9009\u9879\uff0c\u7136\u540e\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201c+\u201d\u53f7\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u811a\u672c\u3002<\/li>\n<li><strong>\u7f16\u5199\u4ee3\u7801<\/strong>\uff1a\u5728\u7f16\u8f91\u5668\u4e2d\u7f16\u5199\u4f60\u7684Python\u4ee3\u7801\u3002\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201c\u4fdd\u5b58\u201d\u56fe\u6807\uff0c\u5c06\u811a\u672c\u4fdd\u5b58\u5230\u4f60\u7684\u624b\u673a\u5b58\u50a8\u4e2d\u3002<\/li>\n<li><strong>\u8fd0\u884c\u811a\u672c<\/strong>\uff1a\u70b9\u51fb\u201cRun\u201d\u6309\u94ae\uff0cPydroid 3\u4f1a\u5728\u63a7\u5236\u53f0\u4e2d\u8fd0\u884c\u4f60\u7684\u811a\u672c\uff0c\u5e76\u663e\u793a\u8f93\u51fa\u7ed3\u679c\u3002<\/li>\n<\/ol>\n<p><p><strong>Pydroid 3<\/strong>\u7684\u4f18\u70b9\u662f\u64cd\u4f5c\u7b80\u5355\uff0c\u652f\u6301\u5927\u591a\u6570Python\u5e93\uff0c\u9002\u5408\u521d\u5b66\u8005\u548c\u6709\u4e00\u5b9a\u7ecf\u9a8c\u7684\u5f00\u53d1\u8005\u3002\u5b83\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5305\u7ba1\u7406\u5668\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u5b89\u88c5\u548c\u7ba1\u7406\u7b2c\u4e09\u65b9\u5e93\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728\u624b\u673a\u4e0a\u8fd0\u884cPython\u811a\u672c\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u5305\u62ec\u5b89\u88c5Python\u5e94\u7528\u3001\u4f7f\u7528\u5728\u7ebfPython\u7f16\u8bd1\u5668\u3001\u5b89\u88c5Termux\u548c\u4f7f\u7528Pydroid 3\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u70b9\u548c\u9002\u7528\u573a\u666f\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u548c\u504f\u597d\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u7528\u6237\u90fd\u53ef\u4ee5\u5728\u624b\u673a\u4e0a\u65b9\u4fbf\u5730\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\uff0c\u4f53\u9a8c\u7f16\u7a0b\u7684\u4e50\u8da3\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728\u624b\u673a\u4e0a\u8fd0\u884cPython\u811a\u672c\u9700\u8981\u54ea\u4e9b\u5de5\u5177\u6216\u5e94\u7528\u7a0b\u5e8f\uff1f<\/strong><br \/>\u8981\u5728\u624b\u673a\u4e0a\u8fd0\u884cPython\u811a\u672c\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u7279\u5b9a\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u6bd4\u5982Pydroid 3\u3001QPython\u6216Termux\u3002\u8fd9\u4e9b\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9bPython\u73af\u5883\uff0c\u5141\u8bb8\u7528\u6237\u7f16\u5199\u3001\u7f16\u8f91\u548c\u6267\u884cPython\u4ee3\u7801\u3002\u9009\u62e9\u9002\u5408\u60a8\u9700\u6c42\u7684\u5de5\u5177\u540e\uff0c\u60a8\u53ef\u4ee5\u76f4\u63a5\u5728\u624b\u673a\u4e0a\u8fd0\u884cPython\u811a\u672c\u3002<\/p>\n<p><strong>\u624b\u673a\u4e0a\u8fd0\u884cPython\u811a\u672c\u7684\u6b65\u9aa4\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u8fd0\u884cPython\u811a\u672c\u7684\u6b65\u9aa4\u901a\u5e38\u5305\u62ec\u4e0b\u8f7d\u5e76\u5b89\u88c5Python\u5e94\u7528\u7a0b\u5e8f\uff0c\u521b\u5efa\u6216\u5bfc\u5165\u60a8\u7684Python\u811a\u672c\uff0c\u6700\u540e\u4f7f\u7528\u5e94\u7528\u7a0b\u5e8f\u7684\u8fd0\u884c\u529f\u80fd\u6267\u884c\u4ee3\u7801\u3002\u5177\u4f53\u64cd\u4f5c\u53ef\u80fd\u56e0\u4e0d\u540c\u5e94\u7528\u800c\u5f02\uff0c\u4f46\u5927\u81f4\u6d41\u7a0b\u662f\u76f8\u4f3c\u7684\uff0c\u786e\u4fdd\u5728\u4f7f\u7528\u524d\u9605\u8bfb\u5e94\u7528\u5185\u7684\u8bf4\u660e\u3002<\/p>\n<p><strong>\u5728\u624b\u673a\u4e0a\u7f16\u5199Python\u4ee3\u7801\u65f6\uff0c\u6709\u54ea\u4e9b\u6ce8\u610f\u4e8b\u9879\uff1f<\/strong><br \/>\u5728\u624b\u673a\u4e0a\u7f16\u5199Python\u4ee3\u7801\u65f6\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u8003\u8651\u5c4f\u5e55\u5c3a\u5bf8\u9650\u5236\u548c\u8f93\u5165\u65b9\u5f0f\u7684\u4e0d\u540c\u3002\u4e3a\u4e86\u63d0\u9ad8\u7f16\u7801\u6548\u7387\uff0c\u53ef\u4ee5\u4f7f\u7528\u5916\u63a5\u952e\u76d8\uff0c\u5e76\u786e\u4fdd\u4f7f\u7528\u9002\u5408\u624b\u673a\u5c4f\u5e55\u7684\u4ee3\u7801\u7f16\u8f91\u5668\u3002\u6b64\u5916\uff0c\u67d0\u4e9b\u5e93\u548c\u6a21\u5757\u53ef\u80fd\u5728\u79fb\u52a8\u73af\u5883\u4e2d\u4e0d\u5b8c\u5168\u517c\u5bb9\uff0c\u5efa\u8bae\u5728\u7f16\u5199\u4ee3\u7801\u524d\u68c0\u67e5\u6240\u9700\u5e93\u7684\u652f\u6301\u60c5\u51b5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728\u624b\u673a\u4e0a\u8fd0\u884cPython\u811a\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u5b89\u88c5Python\u5e94\u7528\u3001\u4f7f\u7528\u5728\u7ebfPython\u7f16\u8bd1\u5668\u3001\u5b89\u88c5T [&hellip;]","protected":false},"author":3,"featured_media":1040859,"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\/1040855"}],"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=1040855"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1040855\/revisions"}],"predecessor-version":[{"id":1040860,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1040855\/revisions\/1040860"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1040859"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1040855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1040855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1040855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}