RuntimeActive

MicroPython UNIX and Windows ports

Command-line options and environment variables for MicroPython on UNIX and Windows.

Open source page

Product features

Product features

Inspection mode

Enter REPL after execution with -i or MICROPYINSPECT.

Interactive REPL

Enter interactive REPL mode when no script or command is given.

Optimization levels

Set optimization level with -O option.

Run code via -c

Execute Python statements from the command line.

Run module via -m

Run a module that is in sys.path.

Run script file

Run a MicroPython source file.