World's Best AI Learning Platform with profoundly Demanding Certification Programs
Designed by IITian's, only for AI Learners.
There are different modes to open a file with, specified by the mode parameter. Which are they pls explain
There are different modes you can open a file with, specified by the mode parameter. These include:
Python 3 added a new mode for exclusive creation so that you will not accidentally truncate or overwrite and
existing file.