TypeError: expected str, bytes or os.PathLike object, not DirectoryIterator site:stackoverflow.com code example
Example: TypeError: expected str, bytes or os.PathLike object, not TextIOWrapper
TypeError: expected str, bytes or os.PathLike object, not TextIOWrapper