{"id":4076,"date":"2023-07-18T09:18:54","date_gmt":"2023-07-18T09:18:54","guid":{"rendered":"https:\/\/picockpit.com\/raspberry-pi\/?p=4076"},"modified":"2023-07-26T14:44:58","modified_gmt":"2023-07-26T14:44:58","slug":"whats-the-difference-between-micropython-circuitpython-cpython-anyway","status":"publish","type":"post","link":"https:\/\/picockpit.com\/raspberry-pi\/zh\/micropython-circuitpython-cpython-anyway%e4%b9%8b%e9%97%b4%e7%9a%84%e5%8c%ba%e5%88%ab%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/","title":{"rendered":"CPython\u3001MicroPython \u548c CircuitPython \u4e4b\u95f4\u5230\u5e95\u6709\u4ec0\u4e48\u533a\u522b\uff1f"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Micro-Circuit-CPython1-1024x576.png\" alt=\"\" class=\"wp-image-4331\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Micro-Circuit-CPython1-1024x576.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Micro-Circuit-CPython1-300x169.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Micro-Circuit-CPython1-768x432.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Micro-Circuit-CPython1-18x10.png 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Micro-Circuit-CPython1.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>CPython\u3001MicroPython \u548c CircuitPython \u5728\u8bb8\u591a\u5de5\u5320\u5fc3\u4e2d\u90fd\u5360\u6709\u91cd\u8981\u5730\u4f4d\u3002\u4f46\u5b83\u4eec\u4e4b\u95f4\u7684\u533a\u522b\u5e76\u4e0d\u603b\u662f\u5f88\u660e\u663e\u3002\u5982\u679c\u4f60\u662f\u7b2c\u4e00\u6b21\u63a5\u89e6\u5fae\u63a7\u5236\u5668\uff0c\u8fd9\u4e9b\u533a\u522b\u5bf9\u4f60\u7406\u89e3\u4ee3\u7801\u4e2d\u7684\u95ee\u9898\u4f1a\u8d77\u5230\u5173\u952e\u4f5c\u7528\u3002<\/p>\n\n\n\n<p>\u56e0\u6b64\uff0c\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u5c06\u89e3\u91ca Python \u7684\u8fd9\u4e09\u79cd\u5b9e\u73b0\u662f\u4ec0\u4e48\uff0c\u4ee5\u53ca\u5b83\u4eec\u4e4b\u95f4\u7684\u5bf9\u6bd4\u3002<\/p>\n\n\n\n<p>\u91cd\u8981\u7684\u662f\u8981\u8bb0\u4f4f Python \u65e2\u662f\u4e00\u79cd\u8bed\u8a00 <em>\u548c<\/em> \u7a0b\u5e8f\u3002\u5728\u8fd9\u91cc\uff0c\u5b9e\u73b0\u662f\u89e3\u91ca\u548c\u6267\u884c Python \u4ee3\u7801\u7684\u7a0b\u5e8f\u3002<\/p>\n\n\n\n<p>\u56e0\u6b64\uff0c\u6211\u4eec\u4e3b\u8981\u8ba8\u8bba\u7684\u662f\u53ef\u4ee5\u8fd0\u884c Python \u4ee3\u7801\u7684\u4e09\u4e2a\u7a0b\u5e8f\uff08\u5305\u62ec\u8fd0\u884c\u73af\u5883\u3001\u6807\u51c6\u5e93\u548c\u5176\u4ed6\u5de5\u5177\uff09\u3002\u8ba9\u6211\u4eec\u4ece CPython \u8fd9\u4e2a\u53c2\u8003\u7a0b\u5e8f\u5f00\u59cb\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">CPython<\/h1>\n\n\n\n<p>CPython\u662fPython\u7f16\u7a0b\u8bed\u8a00\u7684\u9ed8\u8ba4\u5b9e\u73b0\uff0c\u4e5f\u662f\u4f7f\u7528\u6700\u5e7f\u6cdb\u7684\u5b9e\u73b0\u3002\u901a\u5e38\uff0c\u5f53\u4eba\u4eec\u8c08\u8bbaPython\u65f6\uff0c\u4ed6\u4eec\u8c08\u8bba\u7684\u662f\u8fd0\u884c\u5728CPython\u4e0a\u7684Python\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/pexels-realtoughcandycom-11035474-1024x683.jpg\" alt=\"\" class=\"wp-image-4233\" width=\"577\" height=\"384\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/pexels-realtoughcandycom-11035474-1024x683.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/pexels-realtoughcandycom-11035474-300x200.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/pexels-realtoughcandycom-11035474-768x512.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/pexels-realtoughcandycom-11035474-1536x1024.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/pexels-realtoughcandycom-11035474-2048x1365.jpg 2048w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/pexels-realtoughcandycom-11035474-18x12.jpg 18w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/figure>\n<\/div>\n\n\n<p>\u4e0d\u51fa\u6240\u6599\uff0c\u5b83\u662f\u7528 C \u8bed\u8a00\u7f16\u5199\u7684\uff08\u6240\u4ee5\u662f \"C\"\uff09\uff0c\u662f Python \u8bed\u8a00\u7684\u53c2\u8003\u5b9e\u73b0\u3002\u5982\u679c\u60a8\u60f3\u4e86\u89e3\u6240\u6709\u4e0d\u4e3a\u4eba\u77e5\u7684\u7ec6\u8282\uff0c\u53ef\u4ee5 <a href=\"https:\/\/docs.python.org\/3\/c-api\/intro.html\">\u5728\u6b64\u67e5\u770b CPython \u6587\u6863<\/a>.<\/p>\n\n\n\n<p>CPython \u53ef\u89e3\u91ca\u548c\u6267\u884c Python \u4ee3\u7801\uff0c\u5e76\u63d0\u4f9b Python \u7684\u6838\u5fc3\u529f\u80fd\u548c\u7279\u6027\u3002\u7531\u4e8e CPython \u7684\u4f7f\u7528\u7387\u6700\u9ad8\uff0c\u5b83\u8fd8\u80fd\u8bbf\u95ee\u6700\u5e7f\u6cdb\u7684\u5e93\u548c\u5305\u751f\u6001\u7cfb\u7edf\uff0c\u5305\u62ec NumPy\u3001Django\u3001Flask\u3001TensorFlow \u7b49\u5e93\u3002<\/p>\n\n\n\n<p>CPython\u8fd8\u5177\u6709\u52a8\u6001\u5185\u5b58\u7ba1\u7406\u7684\u8fd0\u884c\u73af\u5883\uff08\u5305\u62ec\u901a\u8fc7\u5f15\u7528\u8ba1\u6570\u548c\u5783\u573e\u56de\u6536\u81ea\u52a8\u5206\u914d\u5185\u5b58\uff09\u3002<\/p>\n\n\n\n<p>\u5728\u9519\u8bef\u5904\u7406\u65b9\u9762\uff0cCPython\u63d0\u4f9b\u4e86\u901a\u8fc7try-except\u5757\u6765\u7ba1\u7406\u9519\u8bef\u548c\u5f02\u5e38\u7684\u80fd\u529b\u3002<\/p>\n\n\n\n<p>\u5f53\u7136\uff0c\u5b83\u8fd8\u5185\u7f6e\u4e86\u8c03\u8bd5\u5668\u6a21\u5757\u3001 <code data-no-translation=\"\">pdb<\/code>\uff0c\u5b83\u652f\u6301\u65ad\u70b9\u548c\u5355\u6b65\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884c<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"import pdb; pdb.set_trace()\" style=\"color:#d8dee9ff;display:none\" aria-label=\"\u62f7\u8d1d\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #81A1C1\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">pdb<\/span><span style=\"color: #D8DEE9FF\">; <\/span><span style=\"color: #8FBCBB\">pdb<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">set_trace<\/span><span style=\"color: #D8DEE9FF\">()<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>\u6700\u540e\uff0cCPython\u4f7f\u7528\u5168\u5c40\u89e3\u91ca\u5668\u9501\uff08GIL\uff09\uff0c\u5b83\u53ea\u5141\u8bb8\u4e00\u4e2a\u4e3b\u7ebf\u7a0b\u5728\u4e00\u4e2a\u8fdb\u7a0b\u4e2d\u6267\u884cPython\u5b57\u8282\u7801\u3002\u6362\u53e5\u8bdd\u8bf4\uff0cCPython\u652f\u6301\u5f02\u6b65\u7f16\u7a0b\uff0c\u4f46\u4e0d\u652f\u6301\u5e76\u884c\u7f16\u7a0b\u3002 <em>\u66f4\u591a\u5173\u4e8e\u5f02\u6b65\u548c\u5e76\u884c\u7f16\u7a0b\u7684\u5185\u5bb9\uff0c\u8bf7\u53c2\u89c1\u4e0b\u4e00\u7bc7\u6587\u7ae0\uff01<\/em><\/p>\n\n\n\n<p>\u5176\u4ed6\u4e00\u4e9b\u5b9e\u73b0\u5e76\u4e0d\u4f7f\u7528 GIL\uff0c\u56e0\u6b64\u5b83\u4eec\u53ef\u4ee5\u63d0\u4f9b\u4e0d\u540c\u7684\u5e76\u53d1\u548c\u5e76\u884c\u65b9\u6cd5\u3002 <\/p>\n\n\n\n<p>\u4f8b\u5982\uff0cJython\u5728Java\u865a\u62df\u673a\u4e0a\u8fd0\u884c\u3002 <\/p>\n\n\n\n<p>IronPython\u5728.NET\u4e0a\u8fd0\u884c\u3002 <\/p>\n\n\n\n<p>PyPy\u8fd0\u884c\u5728\u8f6f\u4ef6\u4e8b\u52a1\u5185\u5b58\u4e0a\u3002<\/p>\n\n\n\n<p>\u7136\u800c\uff0cCPython\u3001MicroPython\u548cCircuitPython\u90fd\u662f\u5728GIL\u5230\u4f4d\u7684\u60c5\u51b5\u4e0b\u8fd0\u884c\u7684\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u5fae\u87d2<\/h1>\n\n\n\n<p>CPython\u662f\u4e3a\u901a\u7528\u76ee\u7684\uff08\u53f0\u5f0f\u673a\u3001\u670d\u52a1\u5668\u3001\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7b49\uff09\u8bbe\u8ba1\u7684\uff0c\u800cMicroPython\u5219\u662f\u4e13\u4e3a\u5fae\u63a7\u5236\u5668\uff08\u5982Pico\uff01\uff09\u548c\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4f18\u5316\u7684Python\u5b9e\u73b0\u3002<\/p>\n\n\n\n<p>\u503c\u5f97\u4e00\u63d0\u7684\u662f\uff0cMicroPython \u6709\u65f6\u88ab\u5199\u6210 uPython\uff0c\u8fd9\u662f\u56e0\u4e3a\u5e0c\u814a\u5b57\u6bcd \u03bc\uff08\"mu\"\uff0c\"mikr\u00f3s \"\u7684\u7b2c\u4e00\u4e2a\u5b57\u6bcd\uff09\u7684\u7f18\u6545\u3002<\/p>\n\n\n\n<p>MicroPython \u56e0\u6b64\u4e0d\u9700\u8981\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4f60\u53ef\u4ee5\u6709\u6548\u5730\u8fd0\u884c\u5b83\u3002 <em>\u4f5c\u4e3a <\/em>\u5fae\u63a7\u5236\u5668\u4e0a\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002<\/p>\n\n\n\n<p>\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u4e3a\u4e86\u505a\u5230\u8fd9\u4e00\u70b9\uff0c\u4eba\u4eec\u4f9d\u8d56\u4e8e <a href=\"https:\/\/thonny.org\/\">\u7d22\u5c3c IDE<\/a>\uff0c\u5b83\u6709\u8bb8\u591a\u975e\u5e38\u6709\u7528\u7684\u5de5\u5177\u6765\u5904\u7406MicroPython\u3002<\/p>\n\n\n\n<p>MicroPython \u867d\u7136\u4ecd\u4f7f\u7528 C \u8bed\u8a00\u7f16\u5199\uff0c\u4f46\u5176\u76ee\u7684\u662f\u4e3a\u529f\u80fd\u8f83\u5f31\u7684\u8bbe\u5907\u63d0\u4f9b\u7d27\u51d1\u7684\u8fd0\u884c\u65f6\uff0c\u56e0\u6b64\u5185\u5b58\u7528\u91cf\u8f83\u5c11\uff0c\u800c\u4e14\u5b9e\u9645\u4e0a\u53ea\u4e3a\u5d4c\u5165\u5f0f\u7cfb\u7edf\u63d0\u4f9b\u7279\u5b9a\u7684\u6a21\u5757\u548c\u5e93\uff0c\u5982 <code data-no-translation=\"\">machine<\/code>, <code data-no-translation=\"\">utime<\/code>\uff0c\u4ee5\u53ca <code data-no-translation=\"\">network<\/code>.<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u6b63\u5728\u5bfb\u627e\u4e00\u4e9b\u8d85\u68d2\u7684 MicroPython \u5e93\uff0c\u53ef\u4ee5\u67e5\u770b <a href=\"https:\/\/awesome-micropython.com\/\">\u4ee4\u4eba\u656c\u754f\u7684MicroPython<\/a>.<\/p>\n\n\n\n<p>CPython\u4f7f\u7528\u5f15\u7528\u8ba1\u6570\u4f5c\u4e3a\u5176\u4e3b\u8981\u7684\u5783\u573e\u56de\u6536\u7b97\u6cd5\uff0c\u4f46\u662f <a href=\"https:\/\/docs.micropython.org\/en\/latest\/develop\/memorymgt.html\">MicroPython\u4f7f\u7528Mark\u548cSweep\u4f5c\u4e3a\u4e3b\u8981\u7684\u5783\u573e\u56de\u6536\u7b97\u6cd5\u3002<\/a> \u6765\u7ba1\u7406\u5185\u5b58\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u60f3\u542c\u4ed6\u8bb2\u8ff0\uff0c\u60a8\u53ef\u4ee5\u67e5\u770b\u8fd9\u4e2a\u8bb2\u5ea7\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" hcb-fetch-image-from=\"https:\/\/www.youtube.com\/watch?v=WI-nTf5iM84\" title=\"\u5728\u91ce\u5916\u4f7f\u7528MicroPython\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/WI-nTf5iM84?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u56e0\u6b64\uff0cMicroPython \u5e76\u4e0d\u5177\u5907 CPython \u6807\u51c6\u5e93\u7684\u6240\u6709\u529f\u80fd\u3002<\/p>\n\n\n\n<p>\u4e0e CPython \u4e0d\u540c\uff0cMicroPython \u6ca1\u6709\u5185\u7f6e\u5bf9 <code data-no-translation=\"\">pdb<\/code> \u4f5c\u4e3a\u8c03\u8bd5\u5de5\u5177\u3002\u76f8\u53cd\uff0c\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f MicroPython\uff0c\u5219\u9700\u8981\u4f9d\u8d56\u5176\u4ed6\u6280\u672f\uff0c\u5982\u6253\u5370\u8bed\u53e5\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u5bf9\u4f7f\u7528\u5916\u90e8\u8c03\u8bd5\u5668\u611f\u5174\u8da3\uff0c\u53ef\u4ee5\u67e5\u770b <a href=\"https:\/\/github.com\/bobveringa\/mpdb\">GitHub\u4e0a\u8fd9\u4e2a\u975e\u5e38\u9177\u7684MicroPython\u8c03\u8bd5\u5668<\/a>.\u5b83\u65e8\u5728\u63d0\u4f9b <code data-no-translation=\"\">pdb<\/code> \u529f\u80fd\u5230MicroPython\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u6709\u5174\u8da3\u67e5\u770b MicroPython \u6587\u6863\uff0c\u4ee5\u4e86\u89e3\u66f4\u6df1\u5165\u7684\u5185\u5bb9\uff0c\u53ef\u4ee5\u5173\u6ce8 <a href=\"https:\/\/docs.micropython.org\/en\/latest\/index.html\">\u67e5\u770b\u6240\u6709\u8be6\u7ec6\u4fe1\u606f<\/a>.<\/p>\n\n\n\n<p>\u56e0\u6b64\uff0cMicroPython \u662f CPython \u66f4\u53d7\u9650\u5236\u7684\u5b9e\u73b0\uff0c\u4f46\u5b83\u4ecd\u7136\u975e\u5e38\u5f3a\u5927\uff0c\u901a\u5e38\u662f\u8bb8\u591a\u9879\u76ee\u7684\u7406\u60f3\u5de5\u5177\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u5faa\u73af\u5668\uff08CircuitPython<\/h1>\n\n\n\n<p>\u53e6\u4e00\u4e2a\u5f88\u597d\u7684\u5de5\u5177\u662fCircuitPython\u3002<\/p>\n\n\n\n<p>CircuitPython\u662fMicroPython\u7684\u4e00\u4e2a\u5206\u53c9\uff0c\u5b83\u4e0e <a href=\"https:\/\/www.adafruit.com\/\">\u963f\u8fbe\u798f<\/a> MicroPython \u7684\u76ee\u6807\u662f\u66f4\u65b9\u4fbf\u521d\u5b66\u8005\u4f7f\u7528\uff08MicroPython \u662f\u5426\u4e0d\u591f\u65b9\u4fbf\u521d\u5b66\u8005\u4f7f\u7528\u5f53\u7136\u8fd8\u6709\u4e89\u8bae\uff09\u3002<\/p>\n\n\n\n<p>\u4e8b\u5b9e\u4e0a\uff0cMicroPython\u548cCircuitPython\u4e4b\u95f4\u7684\u5dee\u522b\u975e\u5e38\u5c0f\u3002<\/p>\n\n\n\n<p>\u4e00\u4e2a\u663e\u8457\u7684\u4e0d\u540c\u70b9\u662f\uff0cCircuitPython \u7684\u8bbe\u8ba1\u662f\u5c06\u6587\u4ef6\u4f5c\u4e3a\u5916\u90e8\u78c1\u76d8\uff08\u5c31\u50cf USB \u4e00\u6837\uff09\u79fb\u52a8\u5230\u7535\u8def\u677f\u4e0a\u3002\u8fd9\u6837\u505a\u7684\u76ee\u7684\u662f\u8ba9\u4f60\u65e0\u9700\u901a\u8fc7 Thonny \u4e0a\u4f20\u6587\u4ef6\uff08\u5c3d\u7ba1\u4f60\u4ecd\u7136\u53ef\u4ee5\uff09\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-18-10-45-28.png\" alt=\"\" class=\"wp-image-4234\" width=\"591\" height=\"485\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-18-10-45-28.png 797w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-18-10-45-28-300x246.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-18-10-45-28-768x630.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-18-10-45-28-15x12.png 15w\" sizes=\"auto, (max-width: 591px) 100vw, 591px\" \/><\/figure>\n<\/div>\n\n\n<p>\u4f8b\u5982\uff0cCircuitPython\u6709\u7279\u5b9a\u7684\u5e93\uff0c\u5982 <code data-no-translation=\"\">adafruit_neopixel<\/code>, <code data-no-translation=\"\">adafruit_bmp280<\/code>\uff0c\u4ee5\u53ca <code data-no-translation=\"\">adafruit_dotstar<\/code>\u5b83\u4eec\u90fd\u9488\u5bf9\u7279\u5b9a\u7684\u786c\u4ef6\u3002<\/p>\n\n\n\n<p>\u771f\u6b63\u8ba9 CircuitPython \u4e0e\u4f17\u4e0d\u540c\u7684\u662f Adafruit \u56f4\u7ed5 CircuitPython \u6240\u5efa\u7acb\u7684\u5145\u6ee1\u6d3b\u529b\u7684\u793e\u533a\u3002\u60a8\u53ef\u4ee5\u67e5\u770b CircuitPython <a href=\"https:\/\/forums.adafruit.com\/viewforum.php?f=60\">\u8bba\u575b<\/a> \u548c <a href=\"https:\/\/adafru.it\/discord\">\u4e0d\u548c<\/a> \u6765\u4eb2\u81ea\u4f53\u9a8c\u4e00\u4e0b\u3002(\u6211\u5e94\u8be5\u6307\u51fa\uff0cMicroPython\u4e5f\u6709\u4e00\u4e2a <a href=\"https:\/\/github.com\/orgs\/micropython\/discussions\">\u8bba\u575b<\/a> \u548c\u4e00\u4e2a <a href=\"https:\/\/discord.com\/invite\/RB8HZSAExQ\">\u4e0d\u548c<\/a>\u4e0a\u8ba8\u8bba MicroPython\uff0c\u5c3d\u7ba1\u5f88\u5c11\u6709\u4eba\u8bbf\u95ee\uff0c\u56e0\u4e3a\u5927\u591a\u6570 MicroPython \u8ba8\u8bba\u90fd\u5728 <a href=\"https:\/\/github.com\/orgs\/micropython\/discussions\">GitHub<\/a>).<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u60f3\u4e86\u89e3\u66f4\u591a\u5173\u4e8eCircuitPython\u53ca\u5176\u4e0eMicroPython\uff08\u548cCPython\uff09\u7684\u533a\u522b\uff0c\u60a8\u53ef\u4ee5\u67e5\u9605 <a href=\"https:\/\/docs.circuitpython.org\/en\/latest\/docs\/index.html#\">\u5176\u6587\u6863\u9875\u9762\u5728\u8fd9\u91cc<\/a>.\u751a\u81f3\u5176\u6587\u6863\u770b\u8d77\u6765\u4e5f\u4e0eMicroPython\u6587\u6863\u76f8\u4f3c\uff01<\/p>\n\n\n\n<p>\u5426\u5219\uff0c\u60a8\u53ef\u4ee5\u67e5\u770b Adafruit \u53d1\u5e03\u7684\u89c6\u9891\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" hcb-fetch-image-from=\"https:\/\/www.youtube.com\/watch?v=rN7kvWuAt7k\" title=\"CircuitPython\uff1a\u786c\u4ef6\u4e0a\u7684 Python (Dave Astels)\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/rN7kvWuAt7k?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u8fd8\u77e5\u9053\u5176\u4ed6\u6709\u8da3\u7684\u4e0d\u540c\u4e4b\u5904\uff0c\u8bf7\u5728\u4e0b\u9762\u7684\u8bc4\u8bba\u4e2d\u544a\u8bc9\u6211\u4eec\uff01<\/p>\n<div class=\"shariff shariff-align-center shariff-widget-align-left shariff-buttonstretch\"><ul class=\"shariff-buttons theme-white orientation-horizontal buttonsize-medium\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fzh%2Fmicropython-circuitpython-cpython-anyway%25e4%25b9%258b%25e9%2597%25b4%25e7%259a%2584%25e5%258c%25ba%25e5%2588%25ab%25e6%2598%25af%25e4%25bb%2580%25e4%25b9%2588%25ef%25bc%259f%2F&text=What%E2%80%99s%20the%20difference%20between%20CPython%2C%20MicroPython%2C%20%26%20CircuitPython%20anyway%3F\" title=\"\u5728 X \u4e0a\u5206\u4eab\" aria-label=\"\u5728 X \u4e0a\u5206\u4eab\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#000\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#000\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#000\">\u5206\u4eab<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fzh%2Fmicropython-circuitpython-cpython-anyway%25e4%25b9%258b%25e9%2597%25b4%25e7%259a%2584%25e5%258c%25ba%25e5%2588%25ab%25e6%2598%25af%25e4%25bb%2580%25e4%25b9%2588%25ef%25bc%259f%2F\" title=\"\u5728Facebook\u4e0a\u5206\u4eab\" aria-label=\"\u5728Facebook\u4e0a\u5206\u4eab\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#3b5998\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#3b5998\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#3b5998\">\u5206\u4eab<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button telegram shariff-nocustomcolor\" style=\"background-color:#4084A6\"><a href=\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fzh%2Fmicropython-circuitpython-cpython-anyway%25e4%25b9%258b%25e9%2597%25b4%25e7%259a%2584%25e5%258c%25ba%25e5%2588%25ab%25e6%2598%25af%25e4%25bb%2580%25e4%25b9%2588%25ef%25bc%259f%2F&text=What%E2%80%99s%20the%20difference%20between%20CPython%2C%20MicroPython%2C%20%26%20CircuitPython%20anyway%3F\" title=\"\u5728\u7535\u62a5\u4e0a\u5206\u4eab\" aria-label=\"\u5728\u7535\u62a5\u4e0a\u5206\u4eab\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0088cc; color:#0088cc\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#0088cc\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 32 32\"><path fill=\"#0088cc\" d=\"M30.8 6.5l-4.5 21.4c-.3 1.5-1.2 1.9-2.5 1.2L16.9 24l-3.3 3.2c-.4.4-.7.7-1.4.7l.5-7L25.5 9.2c.6-.5-.1-.8-.9-.3l-15.8 10L2 16.7c-1.5-.5-1.5-1.5.3-2.2L28.9 4.3c1.3-.5 2.3.3 1.9 2.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#0088cc\">\u5206\u4eab<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fzh%2Fmicropython-circuitpython-cpython-anyway%25e4%25b9%258b%25e9%2597%25b4%25e7%259a%2584%25e5%258c%25ba%25e5%2588%25ab%25e6%2598%25af%25e4%25bb%2580%25e4%25b9%2588%25ef%25bc%259f%2F\" title=\"\u5206\u4eab\u81f3Reddit\" aria-label=\"\u5206\u4eab\u81f3Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#ff4500\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#ff4500\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#ff4500\">\u5206\u4eab<\/span>&nbsp;<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>CPython\u3001MicroPython \u548c CircuitPython \u5728\u8bb8\u591a\u5de5\u5320\u5fc3\u4e2d\u90fd\u5360\u6709\u91cd\u8981\u5730\u4f4d\u3002\u4f46\u5b83\u4eec\u4e4b\u95f4\u7684\u533a\u522b\u5e76\u4e0d\u603b\u662f\u5f88\u660e\u663e\u3002\u5982\u679c\u4f60\u662f\u7b2c\u4e00\u6b21\u63a5\u89e6\u5fae\u63a7\u5236\u5668\uff0c\u8fd9\u4e9b\u533a\u522b\u5bf9\u4e8e\u4f60\u7406\u89e3\u4ee3\u7801\u4e2d\u7684\u95ee\u9898\u4f1a\u8d77\u5230\u5173\u952e\u4f5c\u7528\u3002\u56e0\u6b64\uff0c\u5728\u672c\u6587\u4e2d\uff0c\u6211\u5c06...<\/p>","protected":false},"author":2,"featured_media":4331,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1193],"tags":[1196,477,996,1200,1199,1198,1194,178,597,789,14,826,11,1195,476,187,456,1197],"class_list":["post-4076","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-brython","tag-circuitpython","tag-cpython","tag-execution","tag-implementation","tag-ironpython","tag-jython","tag-memory","tag-microcontroller","tag-microcontrollers","tag-micropython","tag-optimization","tag-pico","tag-pypy","tag-python","tag-raspberry-pi","tag-raspberry-pi-projects","tag-stackless-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What&#039;s the difference between CPython, MicroPython, &amp; CircuitPython anyway? | PiCockpit<\/title>\n<meta name=\"description\" content=\"In this post, we&#039;re looking at what distinguishes CPython from MicroPython and both of them from CircuitPython.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/picockpit.com\/raspberry-pi\/zh\/micropython-circuitpython-cpython-anyway\u4e4b\u95f4\u7684\u533a\u522b\u662f\u4ec0\u4e48\uff1f\/\" \/>\n<meta property=\"og:locale\" content=\"zh_HK\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What&#039;s the difference between CPython, MicroPython, &amp; CircuitPython anyway? | PiCockpit\" \/>\n<meta property=\"og:description\" content=\"In this post, we&#039;re looking at what distinguishes CPython from MicroPython and both of them from CircuitPython.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/picockpit.com\/raspberry-pi\/zh\/micropython-circuitpython-cpython-anyway\u4e4b\u95f4\u7684\u533a\u522b\u662f\u4ec0\u4e48\uff1f\/\" \/>\n<meta property=\"og:site_name\" content=\"PiCockpit\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pi3gshop\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-18T09:18:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-26T14:44:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Micro-Circuit-CPython1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"raspi berry\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pi3g\" \/>\n<meta name=\"twitter:site\" content=\"@pi3g\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"raspi berry\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u8a08\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/nl\\\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/nl\\\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\\\/\"},\"author\":{\"name\":\"raspi berry\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/7af3a7a8c999bc722029ef9ca9d78eee\"},\"headline\":\"What&#8217;s the difference between CPython, MicroPython, &#038; CircuitPython anyway?\",\"datePublished\":\"2023-07-18T09:18:54+00:00\",\"dateModified\":\"2023-07-26T14:44:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/nl\\\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\\\/\"},\"wordCount\":965,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/nl\\\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Micro-Circuit-CPython1.png\",\"keywords\":[\"brython\",\"circuitpython\",\"cpython\",\"execution\",\"implementation\",\"IronPython\",\"jython\",\"memory\",\"microcontroller\",\"microcontrollers\",\"microPython\",\"optimization\",\"Pico\",\"pypy\",\"python\",\"Raspberry Pi\",\"Raspberry Pi projects\",\"stackless python\"],\"articleSection\":[\"Python\"],\"inLanguage\":\"zh-HK\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/nl\\\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/nl\\\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/nl\\\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\\\/\",\"name\":\"What's the difference between CPython, MicroPython, & CircuitPython anyway? | PiCockpit\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/nl\\\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/nl\\\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Micro-Circuit-CPython1.png\",\"datePublished\":\"2023-07-18T09:18:54+00:00\",\"dateModified\":\"2023-07-26T14:44:58+00:00\",\"description\":\"In this post, we're looking at what distinguishes CPython from MicroPython and both of them from CircuitPython.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/nl\\\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\\\/#breadcrumb\"},\"inLanguage\":\"zh-HK\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/nl\\\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-HK\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/nl\\\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\\\/#primaryimage\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Micro-Circuit-CPython1.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Micro-Circuit-CPython1.png\",\"width\":1200,\"height\":675},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/nl\\\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/category\\\/python\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"What&#8217;s the difference between CPython, MicroPython, &#038; CircuitPython anyway?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"name\":\"PiCockpit\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-HK\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\",\"name\":\"PiCockpit.com\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-HK\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"width\":1165,\"height\":283,\"caption\":\"PiCockpit.com\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/pi3gshop\",\"https:\\\/\\\/x.com\\\/pi3g\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/7af3a7a8c999bc722029ef9ca9d78eee\",\"name\":\"raspi berry\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-HK\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"caption\":\"raspi berry\"},\"description\":\"I'm here to help you with all your Raspberry Pi related questions &amp; love to share about new project ideas for the Raspberry Pi, and give quick tips. Of course I'll also help you with PiCockpit and how to make your Raspberry Pi even easier to use with this raspberry pi monitoring solution :-)\",\"sameAs\":[\"https:\\\/\\\/picockpit.com\"],\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/zh\\\/author\\\/raspi-berry\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CPython\u3001MicroPython \u548c CircuitPython \u4e4b\u95f4\u5230\u5e95\u6709\u4ec0\u4e48\u533a\u522b\uff1f| PiCockpit","description":"\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u63a2\u8ba8 CPython \u4e0e MicroPython \u7684\u533a\u522b\uff0c\u4ee5\u53ca\u4e24\u8005\u4e0e CircuitPython \u7684\u533a\u522b\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/picockpit.com\/raspberry-pi\/zh\/micropython-circuitpython-cpython-anyway\u4e4b\u95f4\u7684\u533a\u522b\u662f\u4ec0\u4e48\uff1f\/","og_locale":"zh_HK","og_type":"article","og_title":"What's the difference between CPython, MicroPython, & CircuitPython anyway? | PiCockpit","og_description":"In this post, we're looking at what distinguishes CPython from MicroPython and both of them from CircuitPython.","og_url":"https:\/\/picockpit.com\/raspberry-pi\/zh\/micropython-circuitpython-cpython-anyway\u4e4b\u95f4\u7684\u533a\u522b\u662f\u4ec0\u4e48\uff1f\/","og_site_name":"PiCockpit","article_publisher":"https:\/\/www.facebook.com\/pi3gshop","article_published_time":"2023-07-18T09:18:54+00:00","article_modified_time":"2023-07-26T14:44:58+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Micro-Circuit-CPython1.png","type":"image\/png"}],"author":"raspi berry","twitter_card":"summary_large_image","twitter_creator":"@pi3g","twitter_site":"@pi3g","twitter_misc":{"\u4f5c\u8005":"raspi berry","\u9810\u8a08\u95b1\u8b80\u6642\u9593":"5 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/picockpit.com\/raspberry-pi\/nl\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\/#article","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/nl\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\/"},"author":{"name":"raspi berry","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/7af3a7a8c999bc722029ef9ca9d78eee"},"headline":"What&#8217;s the difference between CPython, MicroPython, &#038; CircuitPython anyway?","datePublished":"2023-07-18T09:18:54+00:00","dateModified":"2023-07-26T14:44:58+00:00","mainEntityOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/nl\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\/"},"wordCount":965,"commentCount":0,"publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/nl\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Micro-Circuit-CPython1.png","keywords":["brython","circuitpython","cpython","execution","implementation","IronPython","jython","memory","microcontroller","microcontrollers","microPython","optimization","Pico","pypy","python","Raspberry Pi","Raspberry Pi projects","stackless python"],"articleSection":["Python"],"inLanguage":"zh-HK","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/picockpit.com\/raspberry-pi\/nl\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/picockpit.com\/raspberry-pi\/nl\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\/","url":"https:\/\/picockpit.com\/raspberry-pi\/nl\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\/","name":"CPython\u3001MicroPython \u548c CircuitPython \u4e4b\u95f4\u5230\u5e95\u6709\u4ec0\u4e48\u533a\u522b\uff1f| PiCockpit","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#website"},"primaryImageOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/nl\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\/#primaryimage"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/nl\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Micro-Circuit-CPython1.png","datePublished":"2023-07-18T09:18:54+00:00","dateModified":"2023-07-26T14:44:58+00:00","description":"\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u63a2\u8ba8 CPython \u4e0e MicroPython \u7684\u533a\u522b\uff0c\u4ee5\u53ca\u4e24\u8005\u4e0e CircuitPython \u7684\u533a\u522b\u3002","breadcrumb":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/nl\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\/#breadcrumb"},"inLanguage":"zh-HK","potentialAction":[{"@type":"ReadAction","target":["https:\/\/picockpit.com\/raspberry-pi\/nl\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\/"]}]},{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/picockpit.com\/raspberry-pi\/nl\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\/#primaryimage","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Micro-Circuit-CPython1.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Micro-Circuit-CPython1.png","width":1200,"height":675},{"@type":"BreadcrumbList","@id":"https:\/\/picockpit.com\/raspberry-pi\/nl\/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/picockpit.com\/raspberry-pi\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/picockpit.com\/raspberry-pi\/category\/python\/"},{"@type":"ListItem","position":3,"name":"What&#8217;s the difference between CPython, MicroPython, &#038; CircuitPython anyway?"}]},{"@type":"WebSite","@id":"https:\/\/picockpit.com\/raspberry-pi\/#website","url":"https:\/\/picockpit.com\/raspberry-pi\/","name":"\u7801\u5934","description":"","publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/picockpit.com\/raspberry-pi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-HK"},{"@type":"Organization","@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization","name":"PiCockpit.com","url":"https:\/\/picockpit.com\/raspberry-pi\/","logo":{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","width":1165,"height":283,"caption":"PiCockpit.com"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pi3gshop","https:\/\/x.com\/pi3g"]},{"@type":"Person","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/7af3a7a8c999bc722029ef9ca9d78eee","name":"raspi berry","image":{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","caption":"raspi berry"},"description":"\u6211\u5728\u8fd9\u91cc\u5e2e\u52a9\u4f60\u89e3\u51b3\u6240\u6709\u4e0e\u6811\u8393\u6d3e\u6709\u5173\u7684\u95ee\u9898\uff0c\u5e76\u559c\u6b22\u5206\u4eab\u6709\u5173\u6811\u8393\u6d3e\u7684\u65b0\u9879\u76ee\u60f3\u6cd5\uff0c\u5e76\u7ed9\u51fa\u5feb\u901f\u63d0\u793a\u3002\u5f53\u7136\uff0c\u6211\u4e5f\u4f1a\u5e2e\u52a9\u4f60\u4e86\u89e3PiCockpit\uff0c\u4ee5\u53ca\u5982\u4f55\u5229\u7528\u8fd9\u4e2a\u6811\u8393\u6d3e\u76d1\u63a7\u89e3\u51b3\u65b9\u6848\u4f7f\u4f60\u7684\u6811\u8393\u6d3e\u66f4\u5bb9\u6613\u4f7f\u7528 :-)","sameAs":["https:\/\/picockpit.com"],"url":"https:\/\/picockpit.com\/raspberry-pi\/zh\/author\/raspi-berry\/"}]}},"_links":{"self":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/posts\/4076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/comments?post=4076"}],"version-history":[{"count":24,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/posts\/4076\/revisions"}],"predecessor-version":[{"id":4332,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/posts\/4076\/revisions\/4332"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/media\/4331"}],"wp:attachment":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/media?parent=4076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/categories?post=4076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/tags?post=4076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}