BASE_PATH used in chapter 4

what is BASE_PATH , can’t find it anywhere & what is Path in BASE_PATH. Is “Path” is a class name

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.

1 Like

thanks for the help