{"id":1150933,"date":"2025-01-13T17:07:24","date_gmt":"2025-01-13T09:07:24","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1150933.html"},"modified":"2025-01-13T17:07:27","modified_gmt":"2025-01-13T09:07:27","slug":"%e6%89%8b%e6%9c%ba%e4%b8%8a%e5%a6%82%e4%bd%95%e5%af%bc%e5%85%a5python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1150933.html","title":{"rendered":"\u624b\u673a\u4e0a\u5982\u4f55\u5bfc\u5165python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25181313\/9414cc54-3dd1-4114-afaa-0425ef38cb3b.webp\" alt=\"\u624b\u673a\u4e0a\u5982\u4f55\u5bfc\u5165python\" \/><\/p>\n<p><p> <strong>\u624b\u673a\u4e0a\u5bfc\u5165Python\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528Python\u7f16\u7a0b\u5e94\u7528\u3001\u4f7f\u7528Termux\u5e94\u7528\u3001\u901a\u8fc7\u4e91\u7aef\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u3001\u4f7f\u7528Jupyter Notebook\u7b49\u3002<\/strong>\u5176\u4e2d\uff0c\u4f7f\u7528Termux\u5e94\u7528\u662f\u4e00\u79cd\u975e\u5e38\u65b9\u4fbf\u4e14\u5f3a\u5927\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5728Android\u8bbe\u5907\u4e0a\u521b\u5efa\u4e00\u4e2a\u5b8c\u6574\u7684Linux\u73af\u5883\uff0c\u5e76\u5728\u5176\u4e2d\u5b89\u88c5\u548c\u8fd0\u884cPython\u3002\u4e0b\u9762\u6211\u4eec\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Termux\u5e94\u7528\u5bfc\u5165\u548c\u8fd0\u884cPython\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528Termux\u5e94\u7528\u5bfc\u5165Python<\/h3>\n<\/p>\n<p><p>Termux\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u7ec8\u7aef\u6a21\u62df\u5668\uff0c\u53ef\u4ee5\u5728Android\u8bbe\u5907\u4e0a\u63d0\u4f9b\u4e00\u4e2a\u5b8c\u6574\u7684Linux\u73af\u5883\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5Termux\u5e94\u7528<\/strong>\uff1a\u9996\u5148\uff0c\u4eceGoogle Play Store\u6216\u5176\u4ed6\u53ef\u9760\u7684\u5e94\u7528\u5546\u5e97\u4e0b\u8f7d\u5e76\u5b89\u88c5Termux\u5e94\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u66f4\u65b0\u5305\u7ba1\u7406\u5668<\/strong>\uff1a\u6253\u5f00Termux\u5e94\u7528\u540e\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u66f4\u65b0\u5305\u7ba1\u7406\u5668\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pkg update<\/p>\n<p>pkg upgrade<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5Python<\/strong>\uff1a\u5728\u66f4\u65b0\u5b8c\u6210\u540e\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5Python\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pkg install python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9a8c\u8bc1\u5b89\u88c5<\/strong>\uff1a\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u9a8c\u8bc1Python\u662f\u5426\u5b89\u88c5\u6210\u529f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p> \u4f60\u5e94\u8be5\u4f1a\u770b\u5230Python\u7684\u7248\u672c\u4fe1\u606f\uff0c\u8fd9\u8868\u660ePython\u5df2\u7ecf\u6210\u529f\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5pip<\/strong>\uff1apip\u662fPython\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5pip\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pkg install python-pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884cPython\u811a\u672c<\/strong>\uff1a\u73b0\u5728\uff0c\u4f60\u53ef\u4ee5\u5728Termux\u4e2d\u521b\u5efa\u548c\u8fd0\u884cPython\u811a\u672c\u3002\u4f8b\u5982\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>hello.py<\/code>\u7684\u6587\u4ef6\uff0c\u5e76\u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(&quot;Hello, Termux!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p> \u4fdd\u5b58\u6587\u4ef6\u540e\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u8fd0\u884c\u811a\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python hello.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u5728Android\u8bbe\u5907\u4e0a\u901a\u8fc7Termux\u5e94\u7528\u5b89\u88c5\u5e76\u8fd0\u884cPython\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u63a2\u8ba8\u5176\u4ed6\u51e0\u79cd\u65b9\u6cd5\uff0c\u4ee5\u53ca\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u4f7f\u7528Python\u7684\u4e00\u4e9b\u6ce8\u610f\u4e8b\u9879\u548c\u6280\u5de7\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528Python\u7f16\u7a0b\u5e94\u7528<\/h3>\n<\/p>\n<p><p>\u9664\u4e86Termux\uff0c\u8fd8\u6709\u4e00\u4e9b\u4e13\u95e8\u8bbe\u8ba1\u7528\u4e8ePython\u7f16\u7a0b\u7684\u79fb\u52a8\u5e94\u7528\u3002\u8fd9\u4e9b\u5e94\u7528\u901a\u5e38\u63d0\u4f9b\u4e86\u4e00\u4e2a\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\uff0c\u4f7f\u5f97\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u53d8\u5f97\u66f4\u52a0\u65b9\u4fbf\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684Python\u7f16\u7a0b\u5e94\u7528\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Pydroid 3<\/strong>\uff1aPydroid 3\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684Python IDE\uff0c\u652f\u6301Python 3.x\u7248\u672c\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7528\u6237\u53cb\u597d\u7684\u754c\u9762\uff0c\u652f\u6301\u4ee3\u7801\u8865\u5168\u3001\u9519\u8bef\u63d0\u793a\u3001\u5305\u7ba1\u7406\u7b49\u529f\u80fd\u3002\u4f60\u53ef\u4ee5\u5728Google Play Store\u4e0a\u4e0b\u8f7d\u5e76\u5b89\u88c5Pydroid 3\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>QPython 3L<\/strong>\uff1aQPython 3L\u4e5f\u662f\u4e00\u6b3e\u6d41\u884c\u7684Python\u7f16\u7a0b\u5e94\u7528\uff0c\u652f\u6301Python 3.x\u7248\u672c\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u96c6\u6210\u7684\u7f16\u8f91\u5668\u548c\u63a7\u5236\u53f0\uff0c\u652f\u6301\u8fd0\u884cPython\u811a\u672c\u548c\u9879\u76ee\u3002QPython 3L\u8fd8\u652f\u6301\u5b89\u88c5\u7b2c\u4e09\u65b9\u5e93\uff0c\u4f7f\u5f97\u7f16\u5199\u590d\u6742\u7684Python\u7a0b\u5e8f\u53d8\u5f97\u66f4\u52a0\u5bb9\u6613\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Pyonic Python 3 IDE<\/strong>\uff1a\u8fd9\u662f\u53e6\u4e00\u6b3e\u9002\u7528\u4e8eAndroid\u8bbe\u5907\u7684Python IDE\uff0c\u652f\u6301Python 3.x\u7248\u672c\u3002Pyonic Python 3 IDE\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u6613\u7528\u7684\u754c\u9762\uff0c\u652f\u6301\u4ee3\u7801\u9ad8\u4eae\u3001\u81ea\u52a8\u7f29\u8fdb\u3001\u9519\u8bef\u63d0\u793a\u7b49\u529f\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4f7f\u7528\u4e91\u7aef\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09<\/h3>\n<\/p>\n<p><p>\u4e91\u7aef\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u662f\u4e00\u79cd\u57fa\u4e8e\u4e91\u8ba1\u7b97\u7684\u5f00\u53d1\u73af\u5883\uff0c\u5141\u8bb8\u4f60\u5728\u4efb\u4f55\u8bbe\u5907\u4e0a\u7f16\u5199\u548c\u8fd0\u884c\u4ee3\u7801\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u4e91\u7aefIDE\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Google Colab<\/strong>\uff1aGoogle Colab\u662f\u4e00\u79cd\u514d\u8d39\u7684\u4e91\u7aefJupyter Notebook\u73af\u5883\uff0c\u652f\u6301Python 2.x\u548c3.x\u7248\u672c\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95eeGoogle Colab\uff0c\u5e76\u5728\u5176\u4e2d\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002Google Colab\u8fd8\u652f\u6301\u4e0eGoogle Drive\u96c6\u6210\uff0c\u65b9\u4fbf\u4f60\u7ba1\u7406\u548c\u5206\u4eab\u9879\u76ee\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Jupyter Notebook on Azure<\/strong>\uff1aAzure Notebooks\u662f\u5fae\u8f6f\u63d0\u4f9b\u7684\u4e91\u7aefJupyter Notebook\u670d\u52a1\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ecPython\u3002\u4f60\u53ef\u4ee5\u5728Azure Notebooks\u4e0a\u521b\u5efa\u548c\u8fd0\u884cJupyter Notebook\uff0c\u5e76\u4e0e\u4ed6\u4eba\u5206\u4eab\u4f60\u7684\u5de5\u4f5c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Repl.it<\/strong>\uff1aRepl.it\u662f\u4e00\u79cd\u57fa\u4e8e\u6d4f\u89c8\u5668\u7684\u7f16\u7a0b\u73af\u5883\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ecPython\u3002\u4f60\u53ef\u4ee5\u5728Repl.it\u4e0a\u521b\u5efa\u548c\u8fd0\u884cPython\u9879\u76ee\uff0c\u5e76\u4e0e\u4ed6\u4eba\u534f\u4f5c\u5f00\u53d1\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4f7f\u7528Jupyter Notebook<\/h3>\n<\/p>\n<p><p>Jupyter Notebook\u662f\u4e00\u79cd\u4ea4\u4e92\u5f0f\u7684\u8ba1\u7b97\u73af\u5883\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ecPython\u3002\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u4f7f\u7528Jupyter Notebook\u7684\u65b9\u6cd5\u5305\u62ec\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5Jupyter Notebook<\/strong>\uff1a\u4f60\u53ef\u4ee5\u5728Termux\u4e2d\u5b89\u88c5Jupyter Notebook\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pkg install jupyter<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p> \u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8Jupyter Notebook\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">jupyter notebook<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p> \u7136\u540e\uff0c\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee\u63d0\u4f9b\u7684URL\uff0c\u5373\u53ef\u5f00\u59cb\u4f7f\u7528Jupyter Notebook\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u4e91\u7aefJupyter Notebook\u670d\u52a1<\/strong>\uff1a\u5982\u524d\u6240\u8ff0\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528Google Colab\u6216Azure Notebooks\u7b49\u4e91\u7aef\u670d\u52a1\uff0c\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u4f7f\u7528Jupyter Notebook\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4f7f\u7528Python\u7f16\u7a0b\u5e94\u7528\u7684\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u4f7f\u7528Python\u7f16\u7a0b\u5e94\u7528\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6027\u80fd\u9650\u5236<\/strong>\uff1a\u79fb\u52a8\u8bbe\u5907\u7684\u6027\u80fd\u901a\u5e38\u4e0d\u5982\u53f0\u5f0f\u673a\u6216\u7b14\u8bb0\u672c\u7535\u8111\uff0c\u8fd0\u884c\u590d\u6742\u7684Python\u7a0b\u5e8f\u53ef\u80fd\u4f1a\u9047\u5230\u6027\u80fd\u74f6\u9888\u3002\u56e0\u6b64\uff0c\u5efa\u8bae\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u7f16\u5199\u548c\u6d4b\u8bd5\u8f83\u5c0f\u89c4\u6a21\u7684\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7535\u6c60\u6d88\u8017<\/strong>\uff1a\u8fd0\u884cPython\u7a0b\u5e8f\u4f1a\u6d88\u8017\u5927\u91cf\u7535\u91cf\uff0c\u7279\u522b\u662f\u957f\u65f6\u95f4\u8fd0\u884c\u7684\u7a0b\u5e8f\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528Python\u7f16\u7a0b\u5e94\u7528\u65f6\uff0c\u6ce8\u610f\u76d1\u63a7\u7535\u6c60\u7535\u91cf\uff0c\u5e76\u786e\u4fdd\u8bbe\u5907\u6709\u8db3\u591f\u7684\u7535\u91cf\u652f\u6301\u7f16\u7a0b\u6d3b\u52a8\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8f93\u5165\u6548\u7387<\/strong>\uff1a\u79fb\u52a8\u8bbe\u5907\u7684\u865a\u62df\u952e\u76d8\u53ef\u80fd\u4e0d\u5982\u7269\u7406\u952e\u76d8\u8f93\u5165\u6548\u7387\u9ad8\uff0c\u7f16\u5199\u5927\u91cf\u4ee3\u7801\u53ef\u80fd\u4f1a\u611f\u5230\u4e0d\u4fbf\u3002\u5efa\u8bae\u4f7f\u7528\u84dd\u7259\u952e\u76d8\u6216\u5176\u4ed6\u5916\u90e8\u8f93\u5165\u8bbe\u5907\uff0c\u63d0\u9ad8\u8f93\u5165\u6548\u7387\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u4f7f\u7528Python\u7684\u6280\u5de7<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5229\u7528\u4e91\u7aef\u5b58\u50a8<\/strong>\uff1a\u5c06\u9879\u76ee\u6587\u4ef6\u4fdd\u5b58\u5728\u4e91\u7aef\u5b58\u50a8\uff08\u5982Google Drive\u3001Dropbox\u7b49\uff09\u4e2d\uff0c\u65b9\u4fbf\u5728\u4e0d\u540c\u8bbe\u5907\u4e4b\u95f4\u540c\u6b65\u548c\u8bbf\u95ee\u6587\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u4ee3\u7801\u7247\u6bb5<\/strong>\uff1a\u5229\u7528\u4ee3\u7801\u7247\u6bb5\u5de5\u5177\uff0c\u63d0\u9ad8\u4ee3\u7801\u7f16\u5199\u6548\u7387\u3002\u8bb8\u591aPython\u7f16\u7a0b\u5e94\u7528\u548cIDE\u90fd\u652f\u6301\u4ee3\u7801\u7247\u6bb5\u529f\u80fd\uff0c\u5e2e\u52a9\u4f60\u5feb\u901f\u63d2\u5165\u5e38\u7528\u4ee3\u7801\u6bb5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b9a\u671f\u5907\u4efd<\/strong>\uff1a\u5b9a\u671f\u5907\u4efd\u9879\u76ee\u6587\u4ef6\uff0c\u907f\u514d\u56e0\u8bbe\u5907\u6545\u969c\u6216\u5176\u4ed6\u539f\u56e0\u5bfc\u81f4\u7684\u6570\u636e\u4e22\u5931\u3002\u53ef\u4ee5\u4f7f\u7528\u4e91\u7aef\u5b58\u50a8\u6216\u5176\u4ed6\u5907\u4efd\u5de5\u5177\u8fdb\u884c\u5907\u4efd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f18\u5316\u4ee3\u7801<\/strong>\uff1a\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u7f16\u5199Python\u4ee3\u7801\u65f6\uff0c\u5c3d\u91cf\u4f18\u5316\u4ee3\u7801\uff0c\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u8ba1\u7b97\u548c\u8d44\u6e90\u6d88\u8017\u3002\u4f7f\u7528\u9ad8\u6548\u7684\u7b97\u6cd5\u548c\u6570\u636e\u7ed3\u6784\uff0c\u63d0\u9ad8\u7a0b\u5e8f\u6027\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5229\u7528\u5916\u90e8\u8d44\u6e90<\/strong>\uff1a\u5728\u7f16\u5199Python\u4ee3\u7801\u65f6\uff0c\u5145\u5206\u5229\u7528\u5916\u90e8\u8d44\u6e90\uff0c\u5982\u5728\u7ebf\u6587\u6863\u3001\u4ee3\u7801\u793a\u4f8b\u3001\u793e\u533a\u652f\u6301\u7b49\uff0c\u89e3\u51b3\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u9047\u5230\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u5bfc\u5165\u548c\u4f7f\u7528Python\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u5305\u62ec\u4f7f\u7528Termux\u5e94\u7528\u3001Python\u7f16\u7a0b\u5e94\u7528\u3001\u4e91\u7aef\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u3001Jupyter Notebook\u7b49\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u7f3a\u70b9\uff0c\u9002\u5408\u4e0d\u540c\u7684\u4f7f\u7528\u573a\u666f\u3002\u901a\u8fc7\u4ee5\u4e0a\u4ecb\u7ecd\u7684\u65b9\u6cd5\u548c\u6280\u5de7\uff0c\u4f60\u53ef\u4ee5\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u65b9\u4fbf\u5730\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\uff0c\u63d0\u9ad8\u7f16\u7a0b\u6548\u7387\u548c\u7075\u6d3b\u6027\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\u7f16\u7a0b\u73af\u5883\uff1f<\/strong><br \/>\u8981\u5728\u624b\u673a\u4e0a\u5b89\u88c5Python\u7f16\u7a0b\u73af\u5883\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u4e00\u4e9b\u4e13\u95e8\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f8b\u5982Pydroid 3\u6216QPython\u3002\u8fd9\u4e9b\u5e94\u7528\u7a0b\u5e8f\u652f\u6301\u5728Android\u8bbe\u5907\u4e0a\u8fd0\u884cPython\u4ee3\u7801\uff0c\u5e76\u63d0\u4f9b\u4e86\u4e00\u4e2a\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\uff0c\u4f7f\u5f97\u7f16\u5199\u548c\u6d4b\u8bd5\u4ee3\u7801\u53d8\u5f97\u65b9\u4fbf\u3002\u5728iOS\u8bbe\u5907\u4e0a\uff0cPythonista\u662f\u4e00\u4e2a\u975e\u5e38\u53d7\u6b22\u8fce\u7684\u9009\u62e9\u3002\u5b89\u88c5\u8fd9\u4e9b\u5e94\u7528\u7a0b\u5e8f\u540e\uff0c\u7528\u6237\u53ef\u4ee5\u76f4\u63a5\u5728\u624b\u673a\u4e0a\u7f16\u5199\u548c\u8fd0\u884cPython\u7a0b\u5e8f\u3002<\/p>\n<p><strong>\u5728\u624b\u673a\u4e0a\u7528Python\u7f16\u5199\u4ee3\u7801\u7684\u6700\u4f73\u5b9e\u8df5\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5728\u624b\u673a\u4e0a\u7f16\u5199Python\u4ee3\u7801\u65f6\uff0c\u5efa\u8bae\u4fdd\u6301\u4ee3\u7801\u7b80\u6d01\uff0c\u907f\u514d\u8fc7\u4e8e\u590d\u6742\u7684\u903b\u8f91\u3002\u4f7f\u7528\u4ee3\u7801\u7247\u6bb5\u548c\u6a21\u677f\u53ef\u4ee5\u63d0\u9ad8\u6548\u7387\u3002\u6b64\u5916\uff0c\u8003\u8651\u4f7f\u7528\u5916\u63a5\u952e\u76d8\uff0c\u80fd\u591f\u66f4\u65b9\u4fbf\u5730\u8f93\u5165\u4ee3\u7801\u3002\u540c\u65f6\uff0c\u5b9a\u671f\u8fdb\u884c\u4ee3\u7801\u7684\u6d4b\u8bd5\u548c\u8c03\u8bd5\uff0c\u4ee5\u786e\u4fdd\u7a0b\u5e8f\u7684\u6b63\u786e\u6027\u3002\u53ef\u4ee5\u5229\u7528\u5e94\u7528\u5185\u7684\u8c03\u8bd5\u5de5\u5177\uff0c\u5e2e\u52a9\u8bc6\u522b\u548c\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<p><strong>\u624b\u673a\u4e0a\u5982\u4f55\u5bfc\u5165Python\u5e93\u6216\u6a21\u5757\uff1f<\/strong><br \/>\u5728\u624b\u673a\u4e0a\u5bfc\u5165Python\u5e93\u6216\u6a21\u5757\u901a\u5e38\u53d6\u51b3\u4e8e\u4f60\u6240\u4f7f\u7528\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u5927\u591a\u6570Python\u79fb\u52a8\u5e94\u7528\u90fd\u5141\u8bb8\u7528\u6237\u901a\u8fc7\u5185\u7f6e\u7684\u5305\u7ba1\u7406\u5de5\u5177\u5b89\u88c5\u5e93\u3002\u4f8b\u5982\uff0c\u5728Pydroid 3\u4e2d\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u7ec8\u7aef\u547d\u4ee4\u4f7f\u7528pip\u5b89\u88c5\u6240\u9700\u7684\u5e93\u3002\u5728QPython\u4e2d\uff0c\u7528\u6237\u53ef\u4ee5\u76f4\u63a5\u5728\u4ee3\u7801\u4e2d\u5f15\u7528\u5e93\uff0c\u6216\u8005\u901a\u8fc7\u5176\u5185\u7f6e\u7684\u5e93\u7ba1\u7406\u529f\u80fd\u8fdb\u884c\u5bfc\u5165\u3002\u5728\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\u65f6\uff0c\u786e\u4fdd\u7f51\u7edc\u8fde\u63a5\u826f\u597d\uff0c\u4ee5\u4fbf\u4e0b\u8f7d\u76f8\u5e94\u7684\u5e93\u6587\u4ef6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u624b\u673a\u4e0a\u5bfc\u5165Python\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528Python\u7f16\u7a0b\u5e94\u7528\u3001\u4f7f\u7528Termux\u5e94\u7528\u3001\u901a\u8fc7\u4e91\u7aef\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09 [&hellip;]","protected":false},"author":3,"featured_media":1150937,"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\/1150933"}],"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=1150933"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1150933\/revisions"}],"predecessor-version":[{"id":1150938,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1150933\/revisions\/1150938"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1150937"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1150933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1150933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1150933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}