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 FLLCasts.com
- #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" located under the "Create new project" button:
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons

Python with LEGO Mindstorms EV3 - Level 1
The course introduces students to the programming language Python. We use LEGO Mindstorms EV3 Robots. Python is a popular programming language. It could be used for introducing students to programming, for academic studies, for developing machine learning algorithms and as a general-purpose language.
During the course, students learn how to read and how to develop Python programs. They use an Integrated Development Environment called Visual Studio Code. Robots are programmed to perform interesting and funny tasks like "bringing you water". The level ends with competition on a playing field with boxes.
- 74
- 28:18
- 114

Lesson 3 - Luna 3
Introduction
Today we are going to look at a favorite historic moment of ours, namely the Moon landing by the Luna 3 spaceship. Our robot is also called Luna 3 and we will choose an object to represent The Moon.
The robot will go around the "Moon", take a picture and return to base. We will take the picture with a phone set to "continuous shot" or a timer.
If you work fast, you will have a picture at the end of the lesson that you can use to remember it.
- 5
- 3
- 6
- 3d_rotation 1