DEV Community

DDSRY
DDSRY

Posted on • Updated on

What are the modifiers to the file modes we can use in Python ?

Modifiers to the file modes you can use in Python Programming Language?

▪ The most important one to know for now is the + modifier, so you can do 'w+', 'r+', and 'a+'.

▪ This will open the file in both read and write mode and, depending on the character used, position the file in different ways.

Top comments (0)