Jun-17-2021, 05:44 PM
It is the
Path
class imported from the pahtlib
from pathlib import Path
https://docs.python.org/3/library/pathlib.html Wrote:pathlib — Object-oriented filesystem paths
This module offers classes representing filesystem paths with semantics appropriate for different operating systems. Path classes are divided between pure paths, which provide purely computational operations without I/O, and concrete paths, which inherit from pure paths but also provide I/O operations.