Wednesday

sqlite3.OperationalError: Could not decode to UTF-8 column

to get rid of this error add following line after opening connection:


db_connection = sqlite.connect('my.db')
db_connection.text_factory = str


more about connections objects

No comments:

test smtp server with powershell

Send-MailMessage -SMTPServer smtp.domain.com -To [email protected] -From [email protected] -Subject "This is a test email" -Body ...