'SQLALCHEMY delete all rows in existing database in python

I have created a sqlite database in python according to a tutorial:

from sqlalchemy import create_engine
engine = create_engine('sqlite:///DB.db') 

And next time I run the python script, it has old data in there.

How can I delete all rows, reinitialise or even delete the database (where is it located?)?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source