Embedded Python Programming

Find out why Python is important to embedded developers

Python in General

According to Python.org, "Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built-in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together."

It has also become the de facto language for artificial-intelligence (AI) development, although from a configuration and management perspective rather than actually implementing AI computations. 

This TechXchange takes a look at the language, its implementations, and its relationship to embedded developers. 

Python Sites and Resources

Here are some sites that provide useful Python resources: 

Similar resources for MicroPython:

These sites provide tutorials and other support content addressing Python:

Python and Embedded Developers

Python is a programming language that many developers may want to learn if they're not using it already. 

Python is very popular in many areas from machine learning to powering websites, but it’s also great for embedded applications.
In Part 2 of this series, MathWorks' Heather Gorr details how to take advantage of Python-based AI and ML libraries via MATLAB.
Wrapping up this video series, MathWorks' Heather Gorr talks about development of projects with multiple programming languages.

Examining MicroPython

These articles take a closer look at the scaled down version of Python, namely MicroPython. MicroPython is designed to run on resource-constrained systems. 

Dreamstime_Maciek905_269118891
Code Dreamstime Maciek905 269118891
The differences between the Python and MicroPython programming languages are minute, but they make a powerful difference.
Microcontrollers don’t have to be programmed in C. MicroPython works just fine.
Gerd Altmann, Pixabay
Programmer Promo
C isn’t the only programming language for microcontrollers. This article covers the compatible hardware and workflow steps when programming with a different option—MicroPython...
MicroPython is a compact implementation of the popular Python programming language. The smaller counterpart can run on microcontrollers for embedded applications.

More TechXchanges

Here are some more TechXchanges for embedded programmers and developers. 

The Raspberry Pi platform is popular with developers and includes a range of form factors.
Arduino is an enormously popular platform for Makers and hackers. This TechXchange explores how the venerable Arduino can be used in professional developing.
Dreamstime | Rust
promo_rust_txc_dreamstime
Learn about the Rust programming language.
This TechXchange takes a look at some programming languages that target high reliability embedded applications

About the Author

William G. Wong

William G. Wong

Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sign up for our eNewsletters
Get the latest news and updates

Comment About the Article

To join the conversation, and become an exclusive member of Electronic Design, create an account today!