Reserved Words

All the words that have a special meaning in Python

By Kevin McAleer,    1 Minute

Reserved sign on a table

Special keywords

MicroPython has a list of special keywords that cannot be assigned to variables because they have a special meaning in MicroPython. They are known as reserved words.

Here is a list of all the reserved words that MicroPython understands:

Reserved Words          
and as assert break class continue
def del elif else except exec
finally for from global if import
in is lambda nonlocal not or
pass raise return try while with
yield True False None    

We’ll dive into some of these in more detail later.

< Previous Next >