python ERROR - 'PosixPath' object has no attribute 'decode' code example
Example: windows path object has no attribute encode python
# this usually means a variable is being filled with a file spec/path
# but it's a variable that requires/expects file *content* rather
# than a file spec/path.