Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def deleteall(self):
- conn = sqlite3.connect('position.dms')
- cursor = conn.cursor()
- cursor.execute('DELETE FROM `servo_9`')
- with conn:
- conn.execute('delete from "table"')
- conn.commit()
- cursor.execute('DELETE FROM `servo_9`')
Add Comment
Please, Sign In to add comment