knaxuslearn · build · ship

Projects / Line-following robot / Before you start

Before you start

You need Python 3.8 or newer and a web browser to look at the pictures. Check your version:

python3 --version

Nothing to install. We use only the standard library. Every listing and command in this project was run on Python 3.13 on Linux. If the last digit of a lap time differs on your machine, that is floating point arithmetic and nothing to worry about.

Make a folder for the project:

mkdir robot && cd robot

Every file in this project goes in that one folder, and every command runs from it. We will write short scripts to try things, so keep one terminal open in the folder.