Standard libraryospathlikeOn this pagemodulepathlikeImplements PathLike trait.You can import the trait from the os package. For example:from os import PathLikeTraitsPathLike: A trait representing file system paths.