World's Best AI Learning Platform with profoundly Demanding Certification Programs
Designed by IITians, only for AI Learners.
Designed by IITians, only for AI Learners.
New to InsideAIML? Create an account
Employer? Create an account
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.