Create MS Access database from a Python app

657 Views Asked by At

I'm working with Python and interacting with a MS Access database via the JayDeBeApi library. Everything works well, I can create tables and all but the file *.accdb need to be created previously in the MS Access software

Is there a way to dynamically create the *.accdb file via my Python code?

1

There are 1 best solutions below

1
Gord Thompson On BEST ANSWER

You can use the msaccessdb package to create the .accdb file.

(I am the maintainer of that package.)