<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def truncate_table(self, tablename):
 """ SQLite3 doesn't support direct truncate, so we just use delete here """

        self.get(tablename).remove()
        self.db.commit()