Coding problem when recording in SQLite3
📁 Advanced Python Topics, Error, python2, AI
I write in Windows 7 on Python 2.7.10.
#-*-coding: utf-8-*- conn = db.connect('main.db') #conn.text_factory = str c = conn.cursor() c.execute('PRAGMA encoding = "UTF-8";') c.execute('''''''''''''''''''''''''''''''''''''''''''''''''''''') c.execute(''''''''CREATE IF NOT EXISTS service, service_name text, service_login text, service_pwd text)'''''') print "Welcome to the password manager" print u"Only Latin letters are allowed" No answers yet.
Log in to leave an answer