AttributeError: 'PosixPath' object has no attribute 'startswith' code example
Example: attributeerror 'posixpath' object has no attribute 'startswith'
str(PosixPath("/your/path")).startswith("/")
str(PosixPath("/your/path")).startswith("/")