io.UnsupportedOperation: fileno flask code example Example: io.UnsupportedOperation: not writable file = open('ValidEmails.txt','w') ... file.write(email)