Python : File Processing in Python

यदि हम एक फाइल को राइट मोड में खोलते हैं और फाइल मौजूद नहीं है, तो कौन सी त्रुटि उत्पन्न होगी? , If we open a file in write mode and file does not exists, which of the error will generate?

यदि हम एक फाइल को राइट मोड में खोलते हैं और फाइल मौजूद नहीं है, तो कौन सी त्रुटि उत्पन्न होगी?

If we open a file in write mode and file does not exists, which of the error will generate?
A. File Found Error

B. File Not Exist Error

C. File Not Found Error

D. None of these



Correct Answer :

D. None of these



Explanation

No Error , Because if File not Exist it create a New File Automatically.

CCC Online Test , CCC MCQ Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz career counselling in allahabad Website development Company in Allahabad