Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- # -*- coding: utf-8 -*-
- import MySQLdb as mdb
- import time
- start = time.time()
- con = mdb.connect('localhost', 'testuser', 'test623', 'testdb');
- with con:
- cur = con.cursor()
- cur.execute("DROP TABLE IF EXISTS Students")
- stop = time.time()
- print stop - start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement