Python and sql3