python shell to insert many rows into mysql