import sqlite3
conn = sqlite3.connect('tempory.db')
c = conn.cursor()
Views = 0
c.execute('select * from Links')
for row in c:
url = row[1]
print url
c.execute("UPDATE Links SET Views=? WHERE url=?", (Views, url))
conn.commit()
c.close()
aW1wb3J0IHNxbGl0ZTMKCmNvbm4gPSBzcWxpdGUzLmNvbm5lY3QoJ3RlbXBvcnkuZGInKQpjID0gY29ubi5jdXJzb3IoKQoKVmlld3MgPSAwCgpjLmV4ZWN1dGUoJ3NlbGVjdCAqIGZyb20gTGlua3MnKQpmb3Igcm93IGluIGM6CiAgICB1cmwgPSByb3dbMV0KICAgIHByaW50IHVybAogICAgYy5leGVjdXRlKCJVUERBVEUgTGlua3MgU0VUIFZpZXdzPT8gV0hFUkUgdXJsPT8iLCAoVmlld3MsIHVybCkpCiAgICBjb25uLmNvbW1pdCgpCgpjLmNsb3NlKCk=