Discover available modules

You can obtain a list of the available modules and of the module properties from the REPL.

Note The MicroPython modules starting with "u" have aliases to the standard Python module names.

  1. Access the MicroPython environment.
  2. At the MicroPython >>> prompt, type help('modules') and press Enter. A list of available modules displays.
  3. You can display a list of a module's properties and methods. In these steps, (modulename) in the command should be replaced by the module you are interested in.
    1. At the MicroPython >>> prompt, type import modulename, and press Enter.
    2. At the MicroPython >>> prompt, type help(modulename) and press Enter. A list of the module's properties and methods displays.