Answers for "Explain any four file modes in python"

3

python file modes

# Different modes of text file
"r" = # Open for reading plain text
"w" = # Open for writing plain text
"a" = # Open an existing file for appending plain text
"rb" = # Open for reading binary data
"wb" = # Open for writing binary data
Posted by: Guest on May-03-2021

Python Answers by Framework

Browse Popular Code Answers by Language