Answers for "io.UnsupportedOperation: not readable"

1

io.UnsupportedOperation: not readable

"r"   Opens a file for reading only.
"r+"  Opens a file for both reading and writing.
"rb"  Opens a file for reading only in binary format.
"rb+" Opens a file for both reading and writing in binary format.
"w"   Opens a file for writing only.
"a"   Open for writing.  The file is created if it does not exist.
"a+"  Open for reading and writing.  The file is created if it does not exist.
Posted by: Guest on October-14-2020
-1

io.UnsupportedOperation: not writable

file = open('ValidEmails.txt','w')
...
file.write(email)
Posted by: Guest on November-30-2020

Code answers related to "io.UnsupportedOperation: not readable"

Python Answers by Framework

Browse Popular Code Answers by Language