Home  >  Article  >  Backend Development  >  Can python be embedded?

Can python be embedded?

anonymity
anonymityOriginal
2019-06-13 09:17:1510704browse

Python is a computer programming language. It is an object-oriented dynamic type language that was originally designed for writing automated scripts (shells). With the continuous updates of the version and the addition of new language features, it is increasingly used for the development of independent and large-scale projects.


Can python be embedded?

Python has become very popular in recent years. Python is an object-oriented interpreted computer programming language. Python syntax is concise and clear, easy to read and scalable. Python has a rich and powerful library that can easily connect various modules made in other languages ​​​​(especially C/C). It is often called a glue language and can be used in graphics processing, mathematical processing, Web programming, multimedia applications and other fields.

For such a long time in the past, the development language in the field of embedded development has been C/C. Now MicroPython based on Python has been involved in this field. MicroPython is An engineer named Damien George, based on ANSI C (C language standard), and then followed the Python specification in terms of syntax, mainly to make it easier to implement on embedded hardware (here specifically at the microcontroller level) For low-level operations, the hardware development board officially provided by MicroPython is called PyBoard. In addition to the officially provided development board, some embedded hardware has also been successfully transplanted to MicroPython, such as: Esp8266, WiPy, Espruino Pico, STM32F4 Discovery, etc.

Python is a very easy language to get started with, and it is also a widely used language. MicroPython brings this easy-to-learn and used language to embedded development. It can directly operate the hardware and does not require compilation and downloading. , you can quickly see the results of the program, which is a very good experience. PyBoard is a beautiful development board that is exquisite and compact, making it easy to learn and develop. In addition, MicroPython also supports more platforms, such as: STM32F4 Discovery Board, NUCLEO-F401RE Board, NUCLEO-F767ZI Board, ESP8266, WiPy, etc., the above All development boards can support MicroPython. You can use it by flashing the firmware on the development board. MicroPython brings a new development experience.

The above is the detailed content of Can python be embedded?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn