Q. Which method is used to check if a file exists before opening it?

यह जाँचने के लिए कि कोई फ़ाइल खोलने से पहले मौजूद है या नहीं, किस विधि का उपयोग किया जाता है?

A
exists()
B
os.path.isfile()
C
checkfile()
D
file.exists()

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment