Create new Access database and tables using Python
<p>I'm trying to create an Access database in Python and add two new tables to it.  I'm using win32com and have managed to create the database but can't create the tables.  All I get is unhelpful Windows errors.  Can anyone help me?</p>

<p>The following code works fine:</p>

<pre><code>dbname = r'C:/Users/Guest/Desktop/NewDB.mdb'
db = Dispatch("Access.Application")
dbEngine = db.DBEngine
workspace = dbEngine.Workspaces(0)

dbLangGeneral = ';LANGID=0x0409;CP=1252;COUNTRY=0'
newdb = workspace.CreateDatabase(dbname, dbLangGeneral, 64)
</code></pre>

<p>How do I add new tables to this database?</p>