Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python Desktop Application Database [closed]

Python supports multiple databases

But i want a database for desktop application which could be included in setup of python py2exe

When application pakage is moved then its database also wants to move

example its possible with textfile but i want a database which stores data in table format.

suggest ideas,databases relevance...

like image 299
Sanket Sawant Avatar asked Oct 05 '22 19:10

Sanket Sawant


1 Answers

As Martijn commented, there is the battery included sqlite3 module in python which you can use to create and handle file-based sqlite database.

Alternatively you can use third party products like firebird, which you can embed also in you application.

And if you just only want to store a small number of informations, you can use for example python´s pickle module or you write/read simple ini-files with the ConfigParser.

like image 94
Colin O'Coal Avatar answered Oct 13 '22 10:10

Colin O'Coal