Sqlite cursor (focus in python)