Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. db = pymysql.connect(host=<host>,port=<port>,user=<user>,password=<password>)
  2. cursor = db.cursor()
  3. for line in csv_file_lines:
  4. cursor.execute('INSERT INTO TABLE....')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement