

InterviewSolution
1. |
What is the correct syntax of open() function?(a) file = open(file_name [, access_mode][, buffering])(b) file object = open(file_name [, access_mode][, buffering])(c) file object = open(file_name)(d) none of the mentionedI have been asked this question in an online interview.Enquiry is from Files in division Regular Expressions and Files of Python |
Answer» Correct option is (b) file object = open(file_name [, access_mode][, buffering]) |
|