       if cur.rowcount != 1 :
                print 'Error inserting account:',friend
                continue
            friend_id = cur.lastrowid
            countnew = countnew + 1
</font></pre><font color="black">If we end up in the <tt>except</tt> code, it simply means that the row
was not found so we must insert the row. We use <tt>INSERT OR 
IGNORE</tt> just to avoid errors and then call <tt>commit()</tt> to 
force the database to really be updated. After the write is done, we can 
check the <tt>cur