Q26
How can you check if a file exists in Python before opening it?
A.
By using the os.path.exists() function
AnswerB.
By using the file.exists() method
C.
By using the file.is_existing() method
D.
By using the file.exist() method
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board