DEV Community

DDSRY
DDSRY

Posted on • Updated on

Does just doing open(filename) open it in 'r' (read) mode in Python ?

Does just doing open(filename) open it in 'r' (read) mode in Python Programming Language Files:

▪ Yes, that's the default for the open() function.

Top comments (0)