Difference between w+ and r+ in python Code Example
difference between w+ and r+ in python
"r+ doesn't create a new file if it doesn't exist, and doesn't delete its content."
"w+ does create a new file if it doesn't exist, and deletes its content if it exists."