BASE_PATH used in chapter 4

This question was answered here.

Path is a class from the Python pathlib library.

In the tutorial you are referring to, the line Path.BASE_PATH = path is assigning a Path object to path. Any future reference to path will allow you to leverage the pathlib library features.

2 Likes