5

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...

Sanket Sawant
  • 331
  • 1
  • 7
  • 16
  • Unfortunately, this kind of question does not fit the format of this site, see the [FAQ#dontask]. Questions like these tend to lead to vague answers that are also outdated very quickly. If we can help you with a specific problem, feel free to post another question though! – Martijn Pieters Mar 07 '13 at 12:53
  • 4
    That said, Python comes with batteries included, including an embedded database engine. Use the [`sqlite3` module](http://docs.python.org/2/library/sqlite3.html) for that. – Martijn Pieters Mar 07 '13 at 12:54

1 Answers1

4

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.

Colin O'Coal
  • 1,377
  • 10
  • 10