MOCKSTACKS
EN
Questions And Answers

More Tutorials









Raspberry Introduction to Software

MicroPython

MicroPython


Python is an interpreted general-purpose language. Since the first version of Python was designed and released by Guido van Rossum of the National Research Institute for Mathematics and Computer Science in 1991, Python has rapidly become one of the most popular languages in the world with its concise syntax, excellent code readability and hot community resources.

What is an interpreted language?


The computer cannot directly understand the high-level language we use when programming. When the computer executes the program, it needs to translate the code written in a high-level language into a machine language that it can understand in some way and then execute it. There are two ways to translate high-level language into machine language: using a compiler or using an interpreter to translate a high-level language.

Therefore, we refer to programming languages that use a compiler for translation as a compiled language, while a language that uses an interpreter for translation is known as an interpreted language.

However, the powerful Python is not omnipotent. Although Python performs well on desktop computers, large terminals and servers, it cannot be deployed on microcontrollers with limited resources and small memory. As a result, MicroPython, a Python-based interpreted language specially designed for microcontrollers, was born. MicroPython optimizes Python cleverly, and the optimized MicroPython can run perfectly in all kinds of resource-constrained microcontrollers. MicroPython also inherits various advantages of Python, such as its ease of use.

MicroPython has made strides in keeping compatibility with ordinary Python as much as possible. If you are a beginner, you will learn a lot about Python while learning MicroPython. On the other hand, if you already have some understanding of Python, you will be able to quickly get started with MicroPython while deepening your knowledge.

Conclusion

In this page (written and validated by ) you learned about Raspberry Introduction to Software . What's Next? If you are interested in completing Raspberry tutorial, your next topic will be learning about: Raspberry Thonny.



Incorrect info or code snippet? We take very seriously the accuracy of the information provided on our website. We also make sure to test all snippets and examples provided for each section. If you find any incorrect information, please send us an email about the issue: mockstacks@gmail.com.


Share On:


Mockstacks was launched to help beginners learn programming languages; the site is optimized with no Ads as, Ads might slow down the performance. We also don't track any personal information; we also don't collect any kind of data unless the user provided us a corrected information. Almost all examples have been tested. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. By using Mockstacks.com, you agree to have read and accepted our terms of use, cookies and privacy policy.