Unsupported operation :not writeable python

You open the variable “file” as a read only then attempt to write to it:

file = open('ValidEmails.txt','r')

Instead, use the ‘w’ flag.

file = open('ValidEmails.txt','w')
...
file.write(email)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)