SyntaxFix
Write A Post
Hire A Developer
Questions
Just like it sounds like: if the path exists, but is a file and not a directory, isdir will return False. Meanwhile, exists will return True in both cases.
isdir
False
exists
True