Alan Gauld wrote:

> Finally when creating tables you can use:
> 
> DROP TABLE IF EXISTS TOPICS;
> 
> Prior to creating it. That will ensure you don't get an existing
> table error.

Another option is to only create the table if it does not already exist:

create table if not exists topics ...


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to