MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.
The MicroPython pyboard is a compact electronic circuit board that runs MicroPython on the bare metal, giving you a low-level Python operating system that can be used to control all kinds of electronic projects.
MicroPython is packed full of advanced features such as an interactive prompt, arbitrary precision integers, closures, list comprehension, generators, exception handling and more. Yet it is compact enough to fit and run within just 256k of code space and 16k of RAM.
MicroPython aims to be as compatible with normal Python as possible to allow you to transfer code with ease from the desktop to a microcontroller or embedded system.
MicroPython is a full Python compiler and runtime that runs on the bare-metal. You get an interactive prompt (the REPL) to execute commands immediately, along with the ability to run and import scripts from the built-in filesystem. The REPL has history, tab completion, auto-indent and paste mode for a great user experience.
MicroPython strives to be as compatible as possible with normal Python (known as CPython) so that if you know Python you already know MicroPython. On the other hand, the more you learn about MicroPython the better you become at Python.
In addition to implementing a selection of core Python libraries, MicroPython includes modules such as "machine" for accessing low-level hardware.
MicroPython is written in C99 and the entire MicroPython core is available for general use under the very liberal MIT license. Most libraries and extension modules (some of which are from a third party) are also available under MIT or similar licenses.
You can freely use and adapt MicroPython for personal use, in education, and in commercial products.
MicroPython is developed in the open on GitHub and the source code is available at the GitHub page, and on the download page. Everyone is welcome to contribute to the project.
MicroPython employs many advanced coding techniques, and lots of tricks to maintain a compact size while still having a full set of features.
Some of the more notable items are:
梦见倒房子是什么预兆 | 一什么三什么的成语 | 为什么眼睛会有红血丝 | 孕妇梦到蛇是什么意思 | 去脚气用什么药最好 |
茉莉毛尖属于什么茶 | 次数是什么 | 姓郑的男孩取什么名字好 | 吃什么能升血压 | 浑浑噩噩是什么意思 |
人五人六是什么意思 | o2o什么意思 | 啤酒花是什么 | 径行是什么意思 | 喝酒手发抖是什么原因 |
枸橼酸西地那非片是什么药 | 不全性骨折是什么意思 | 什么是全麦面包 | 吃什么盐最好 | 什么的落日 |
皮肤湿疹用什么药膏hcv7jop5ns2r.cn | 血糖高可以吃什么hcv7jop6ns4r.cn | 肾虚对男生意味着什么hcv8jop1ns5r.cn | 老年人睡眠多是什么原因hcv9jop0ns7r.cn | 阿弥陀佛什么意思hcv8jop4ns9r.cn |
拈花一笑什么意思xinjiangjialails.com | 糖宝是什么意思hcv7jop9ns4r.cn | 什么是文科什么是理科hcv9jop3ns7r.cn | 党内的最高处分是什么hcv8jop1ns6r.cn | 奇的多音字是什么hcv8jop2ns5r.cn |
为什么会梦遗hcv7jop4ns8r.cn | o2o什么意思hcv7jop9ns0r.cn | 澳门使用什么货币hcv9jop3ns0r.cn | 尿道感染用什么药hcv8jop8ns8r.cn | 小孩子头发黄是什么原因hcv8jop2ns7r.cn |
拆台是什么意思hcv8jop9ns2r.cn | 胃酸吃什么能缓解adwl56.com | 有志什么成hcv8jop0ns0r.cn | 口腔溃疡该挂什么科hcv9jop1ns5r.cn | 耳鸣脑鸣是什么原因引起的bjhyzcsm.com |