Question #82

Which statement is correct?

The difference between os.path.exists() and os.path.isfile() is the fact that the former returns True in case the given path is a directory or a file, while the latter only returns True if the path points to a file. (

Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵

Similar questions: