How to find the documentation for the commands in the PYBRICKS library Pro Preview

The word "Library" in programming means one or a group of functions you can import into your code and use them in it. These functions are imported using the "import" command.

To access the full video please subscribe to


  • #1542
  • 21 Feb 2020

Sometimes the functions you wish to import are placed in directories (folders) so you need to tell your code to look for the functions in a specific directory using the "from" command: 

from pybricks.ev3devices import (Motor)

this command tells your program that you are using the Motor() command and it can be found in the "ev3devuces" directory of "pybricks".

Every library comes with a catalog that describes how every command can be used. To find the catalog of the EV3 MicroPython library, you need to press "Open user guide and examples" located under the "Create new project" button:

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Python with LEGO Mindstorms EV3 - Level 1
  • 43
  • 22:57
  • 30
Image for Lesson 3 - Luna 3
  • 5
  • 3
  • 6
  • 3d_rotation 1