ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
Programming and Problem Solving through Python
: File Processing in Python
निम्नलिखित में से कौन सा फ़ाइल खोलने के लिए वैध मोड नहीं है? , Which of the following is not a valid mode to open a file?
Which of the following is not a valid mode to open a file?
A.
ab
ab
B.
rw
rw
C.
r+
r+
D.
w+
w+
Solution
B. rw
Explanation
'rw' is invalid file mode in python. where 'ab' mode is used to open a binary file in append mode, 'r+' is used to read and write both and 'w+' is also used to write and read both operation.
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad