python application that queries a database -


i need develop gui desktop application takes input user, calculations, , runs bunch of queries should exported csv, xls or txt file. want create installation package user can install without installing other applications (used front end) , other database (other ms access). questions are

  1. if use python front-end/gui, can create installation package? understand can create , .exe file .py file. want db copied in right folder (path referenced in program) on end-user's computer when user installs package.

  2. ms access (2010) on computer (windos 7 os) 32-bit , i'm having trouble using 64-bit python (version 3.5.1) , pyodbc(version 3.0.10). can use alternate db (sqlite?) user doesn't have install run application , don't have worry getting db in right folder on end-users computer. db small (few tables 1000 rows each).

thanks much!

looks can both - pyinstaller seems support sqlite3, python library working sqlite seems great fit use case: https://docs.python.org/3/library/sqlite3.html https://pypi.python.org/pypi/pyinstaller/3.0

about exporting - can write code using python, depends on exact output looking for.

here's example of using sqlite tools basic export: export sqlite csv using shell script

hope helps :)


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -