I'm not positive about this, but when using com you need to force it into the compile. In my applications where I use Excel I use this line:
python setup.py py2exe --progid "Excel.Application" You may need to do something similar for the db application. -- http://mail.python.org/mailman/listinfo/python-list