[help] how to generate a empty ".MDB" file using python
Denton
Denton at anonymous.com
Sun Jan 15 01:09:11 EST 2006
Hi all:
I working in MS window environment. Now I want to use a python
script to import some data from CSV file to MDB file.
but I have some problems about creating MDB file in DAO.
I am using attached code , but the last line seems invalid.
Does anyone could help me. Thanks!
import win32com.client
eng=win32com.client.Dispatch("DAO.DBEngine.36")
eng.CreateDatabase("d:\\temp.mdb")
Regards
Denton
More information about the Python-list
mailing list