{"id":975699,"date":"2024-12-27T06:15:27","date_gmt":"2024-12-26T22:15:27","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/975699.html"},"modified":"2024-12-27T06:15:29","modified_gmt":"2024-12-26T22:15:29","slug":"%e5%8d%8e%e4%b8%ba%e5%b9%b3%e6%9d%bf%e5%a6%82%e4%bd%95%e6%89%93%e5%bc%80python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/975699.html","title":{"rendered":"\u534e\u4e3a\u5e73\u677f\u5982\u4f55\u6253\u5f00python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24200826\/1d9971ad-a5b4-4d95-9712-8e738d16b9b2.webp\" alt=\"\u534e\u4e3a\u5e73\u677f\u5982\u4f55\u6253\u5f00python\" \/><\/p>\n<p><p> <strong>\u8981\u5728\u534e\u4e3a\u5e73\u677f\u4e0a\u6253\u5f00Python\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5Python\u7f16\u7a0b\u5e94\u7528\u3001\u4f7f\u7528\u5728\u7ebf\u7f16\u8bd1\u5668\u3001\u6216\u901a\u8fc7\u8fdc\u7a0b\u684c\u9762\u8bbf\u95eePC\u7b49\u65b9\u5f0f\u5b9e\u73b0\u3002\u5176\u4e2d\uff0c\u5b89\u88c5Python\u7f16\u7a0b\u5e94\u7528\u662f\u6700\u4e3a\u4fbf\u6377\u548c\u9ad8\u6548\u7684\u65b9\u6cd5\u3002<\/strong>\u5728\u534e\u4e3a\u5e73\u677f\u4e0a\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u5e94\u7528\u5e02\u573a\u4e0b\u8f7d\u652f\u6301Python\u8bed\u8a00\u7684\u7f16\u7a0b\u5e94\u7528\uff0c\u5982Pydroid 3\u3002\u8fd9\u4e9b\u5e94\u7528\u53ef\u4ee5\u63d0\u4f9b\u4e00\u4e2a\u5b8c\u6574\u7684Python\u7f16\u7a0b\u73af\u5883\uff0c\u5305\u62ec\u4ee3\u7801\u7f16\u8f91\u3001\u6267\u884c\u548c\u8c03\u8bd5\u529f\u80fd\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u8bb2\u89e3\u5982\u4f55\u5728\u534e\u4e3a\u5e73\u677f\u4e0a\u5b89\u88c5\u548c\u4f7f\u7528Python\u7f16\u7a0b\u5e94\u7528\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b89\u88c5Python\u7f16\u7a0b\u5e94\u7528<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5e94\u7528\u5e02\u573a\u4e0b\u8f7d<\/strong><br \/>\u5728\u534e\u4e3a\u5e73\u677f\u4e0a\uff0c\u6253\u5f00\u5e94\u7528\u5e02\u573a\uff0c\u641c\u7d22\u201cPython\u201d\u6216\u201cPydroid 3\u201d\u7b49\u5173\u952e\u8bcd\u3002Pydroid 3\u662f\u4e00\u4e2a\u5e7f\u6cdb\u4f7f\u7528\u7684Python 3 IDE\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728Android\u8bbe\u5907\u4e0a\u8fd0\u884cPython\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u548c\u8bbe\u7f6e<\/strong><br \/>\u627e\u5230Pydroid 3\u5e94\u7528\u540e\uff0c\u70b9\u51fb\u5b89\u88c5\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00\u5e94\u7528\uff0c\u4f60\u4f1a\u770b\u5230\u4e00\u4e2a\u7b80\u5355\u7684Python\u7f16\u7a0b\u754c\u9762\u3002\u5728\u9996\u6b21\u4f7f\u7528\u65f6\uff0c\u5e94\u7528\u53ef\u80fd\u4f1a\u8981\u6c42\u4f60\u4e0b\u8f7d\u4e00\u4e9b\u989d\u5916\u7684\u5305\u6216\u63d2\u4ef6\uff0c\u8fd9\u4e9b\u90fd\u662f\u4e3a\u4e86\u652f\u6301Python\u7684\u5b8c\u6574\u529f\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884cPython\u4ee3\u7801<\/strong><br \/>\u5728Pydroid 3\u4e2d\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u8f93\u5165Python\u4ee3\u7801\u5e76\u8fd0\u884c\u3002\u4f8b\u5982\uff0c\u8f93\u5165 <code>print(&quot;Hello, World!&quot;)<\/code>\uff0c\u7136\u540e\u70b9\u51fb\u8fd0\u884c\u6309\u94ae\uff0c\u8f93\u51fa\u7a97\u53e3\u4f1a\u663e\u793a\u7ed3\u679c\u3002\u8fd9\u8bf4\u660ePython\u73af\u5883\u5df2\u7ecf\u6210\u529f\u914d\u7f6e\u5e76\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u5728\u7ebf\u7f16\u8bd1\u5668<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5728\u7ebf\u7f16\u8bd1\u5668\u9009\u62e9<\/strong><br \/>\u5982\u679c\u4e0d\u60f3\u5b89\u88c5\u5e94\u7528\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5728\u7ebfPython\u7f16\u8bd1\u5668\u3002\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee\u50cfRepl.it\u3001Google Colab\u7b49\u5e73\u53f0\uff0c\u8fd9\u4e9b\u5e73\u53f0\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684Python\u7f16\u7a0b\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbf\u95ee\u548c\u4f7f\u7528<\/strong><br \/>\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u8bbf\u95ee\u5728\u7ebf\u7f16\u8bd1\u5668\u7f51\u7ad9\uff0c\u6ce8\u518c\u6216\u767b\u5f55\u8d26\u6237\u3002\u9009\u62e9Python\u8bed\u8a00\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u7f16\u7a0b\u9879\u76ee\u3002\u5728\u4ee3\u7801\u7f16\u8f91\u533a\u57df\u8f93\u5165Python\u4ee3\u7801\uff0c\u7136\u540e\u70b9\u51fb\u8fd0\u884c\u6309\u94ae\u5373\u53ef\u67e5\u770b\u8f93\u51fa\u7ed3\u679c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f18\u52bf\u4e0e\u5c40\u9650<\/strong><br \/>\u5728\u7ebf\u7f16\u8bd1\u5668\u7684\u4f18\u52bf\u5728\u4e8e\u65e0\u9700\u5b89\u88c5\u4efb\u4f55\u5e94\u7528\uff0c\u968f\u65f6\u968f\u5730\u90fd\u53ef\u4ee5\u7f16\u5199\u548c\u8fd0\u884c\u4ee3\u7801\u3002\u7136\u800c\uff0c\u5176\u9700\u8981\u6301\u7eed\u7684\u7f51\u7edc\u8fde\u63a5\uff0c\u4e14\u6027\u80fd\u53ef\u80fd\u4e0d\u5982\u672c\u5730\u5e94\u7528\u6d41\u7545\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u901a\u8fc7\u8fdc\u7a0b\u684c\u9762\u8bbf\u95eePC<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8fdc\u7a0b\u684c\u9762\u5e94\u7528<\/strong><br \/>\u5982\u679c\u4f60\u7684PC\u4e0a\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u5f00\u53d1\u73af\u5883\uff0c\u53ef\u4ee5\u901a\u8fc7\u8fdc\u7a0b\u684c\u9762\u5e94\u7528\u5728\u5e73\u677f\u4e0a\u8bbf\u95eePC\u3002\u534e\u4e3a\u5e73\u677f\u53ef\u4ee5\u4f7f\u7528\u5982TeamViewer\u3001Microsoft Remote Desktop\u7b49\u5e94\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbe\u7f6e\u548c\u8fde\u63a5<\/strong><br \/>\u5728PC\u4e0a\u914d\u7f6e\u8fdc\u7a0b\u8bbf\u95ee\u6743\u9650\uff0c\u5e76\u5728\u5e73\u677f\u4e0a\u5b89\u88c5\u76f8\u5e94\u7684\u8fdc\u7a0b\u684c\u9762\u5ba2\u6237\u7aef\u3002\u901a\u8fc7\u5e94\u7528\u8fde\u63a5\u5230PC\u540e\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u5728PC\u7684Python\u73af\u5883\u4e2d\u7f16\u5199\u548c\u8fd0\u884c\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9002\u7528\u573a\u666f<\/strong><br \/>\u8fd9\u79cd\u65b9\u6cd5\u9002\u5408\u9700\u8981\u4f7f\u7528PC\u4e0a\u5df2\u6709\u7684\u590d\u6742\u5f00\u53d1\u73af\u5883\u6216\u9879\u76ee\u7684\u7528\u6237\uff0c\u4f46\u9700\u8981\u7a33\u5b9a\u7684\u7f51\u7edc\u8fde\u63a5\u548c\u4e00\u5b9a\u7684\u8bbe\u7f6e\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728\u534e\u4e3a\u5e73\u677f\u4e0a\u6253\u5f00Python\u5e76\u4e0d\u590d\u6742\uff0c\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u901a\u8fc7\u5e94\u7528\u5e02\u573a\u5b89\u88c5Python\u7f16\u7a0b\u5e94\u7528\uff0c\u5982Pydroid 3\u3002\u5bf9\u4e8e\u5e0c\u671b\u4e0d\u5360\u7528\u672c\u5730\u5b58\u50a8\u7684\u7528\u6237\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u5728\u7ebf\u7f16\u8bd1\u5668\u3002\u5bf9\u4e8e\u9700\u8981\u4f7f\u7528PC\u4e0a\u73b0\u6709\u8d44\u6e90\u7684\u7528\u6237\uff0c\u901a\u8fc7\u8fdc\u7a0b\u684c\u9762\u8bbf\u95ee\u4e5f\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u6839\u636e\u81ea\u5df1\u7684\u4f7f\u7528\u573a\u666f\u548c\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u9ad8\u6548\u5730\u5728\u534e\u4e3a\u5e73\u677f\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\u534e\u4e3a\u5e73\u677f\u4e0a\u5b89\u88c5Python\u73af\u5883\uff1f<\/strong><br \/>\u5728\u534e\u4e3a\u5e73\u677f\u4e0a\u5b89\u88c5Python\u73af\u5883\u53ef\u4ee5\u901a\u8fc7\u4e0b\u8f7d\u76f8\u5173\u7684\u5e94\u7528\u7a0b\u5e8f\u6765\u5b9e\u73b0\u3002\u63a8\u8350\u4f7f\u7528Termux\u6216Pydroid 3\u7b49\u5e94\u7528\uff0c\u8fd9\u4e9b\u7a0b\u5e8f\u63d0\u4f9b\u4e86Python\u7684\u5b8c\u6574\u8fd0\u884c\u73af\u5883\u3002\u60a8\u53ea\u9700\u5728\u5e94\u7528\u5546\u5e97\u4e2d\u641c\u7d22\u5e76\u4e0b\u8f7d\u8fd9\u4e9b\u5e94\u7528\uff0c\u5b89\u88c5\u540e\u6309\u7167\u63d0\u793a\u8fdb\u884c\u8bbe\u7f6e\uff0c\u5373\u53ef\u5f00\u59cb\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002<\/p>\n<p><strong>\u534e\u4e3a\u5e73\u677f\u652f\u6301\u54ea\u4e9bPython\u7f16\u7a0b\u5de5\u5177\uff1f<\/strong><br \/>\u534e\u4e3a\u5e73\u677f\u652f\u6301\u591a\u79cdPython\u7f16\u7a0b\u5de5\u5177\uff0c\u5982Pydroid 3\u3001QPython\u548cTermux\u7b49\u3002\u8fd9\u4e9b\u5de5\u5177\u4e0d\u4ec5\u5141\u8bb8\u60a8\u7f16\u5199\u548c\u6267\u884cPython\u4ee3\u7801\uff0c\u8fd8\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5e93\u548c\u529f\u80fd\uff0c\u5e2e\u52a9\u60a8\u8fdb\u884c\u66f4\u590d\u6742\u7684\u7f16\u7a0b\u4efb\u52a1\u3002\u6839\u636e\u60a8\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u63d0\u5347\u7f16\u7a0b\u4f53\u9a8c\u3002<\/p>\n<p><strong>\u5728\u534e\u4e3a\u5e73\u677f\u4e0a\u8fd0\u884cPython\u4ee3\u7801\u6709\u4ec0\u4e48\u9650\u5236\u5417\uff1f<\/strong><br \/>\u5728\u534e\u4e3a\u5e73\u677f\u4e0a\u8fd0\u884cPython\u4ee3\u7801\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u9650\u5236\uff0c\u6bd4\u5982\u8d44\u6e90\u5360\u7528\u548c\u6027\u80fd\u95ee\u9898\u3002\u5e73\u677f\u7684\u786c\u4ef6\u6027\u80fd\u76f8\u5bf9\u8f83\u4f4e\uff0c\u56e0\u6b64\u8fd0\u884c\u5927\u89c4\u6a21\u7684Python\u9879\u76ee\u65f6\u53ef\u80fd\u4f1a\u53d7\u5230\u5f71\u54cd\u3002\u6b64\u5916\uff0c\u67d0\u4e9b\u5e93\u6216\u6a21\u5757\u53ef\u80fd\u4e0d\u5b8c\u5168\u517c\u5bb9\u79fb\u52a8\u8bbe\u5907\uff0c\u56e0\u6b64\u5728\u4f7f\u7528\u4e4b\u524d\u6700\u597d\u67e5\u9605\u76f8\u5173\u6587\u6863\u4ee5\u786e\u4fdd\u517c\u5bb9\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728\u534e\u4e3a\u5e73\u677f\u4e0a\u6253\u5f00Python\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5Python\u7f16\u7a0b\u5e94\u7528\u3001\u4f7f\u7528\u5728\u7ebf\u7f16\u8bd1\u5668\u3001\u6216\u901a\u8fc7\u8fdc\u7a0b\u684c\u9762\u8bbf\u95eePC\u7b49\u65b9\u5f0f [&hellip;]","protected":false},"author":3,"featured_media":975705,"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\/975699"}],"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=975699"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/975699\/revisions"}],"predecessor-version":[{"id":975708,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/975699\/revisions\/975708"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/975705"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=975699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=975699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=975699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}