A
A
Alexander2015-01-15 20:20:56
Flask
Alexander, 2015-01-15 20:20:56

What database to use for python script?

Hello everyone! Please tell me which database to use? I am currently using the python 3.4 version, I wanted to use postgreSQl, but I could not find a module for python 3.4. I want to write the exchange rate to the database and display them on the site (Flask framework).

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
globuser, 2015-01-15
@globuzer

And for such a simple thing, wouldn't SQLite suit you? Seems to be OK.
You still need to write to the database. Indeed, often people need not only to know the current rate, but also to compare with the previous ones and understand the dynamics, which would also be good to display. This gives more information and doesn't load the page. And at the expense of displaying a graph, table, dynamics, this can be done as an additional link or spoiler, which is initially hidden

A
Alexander Taratin, 2015-01-15
@Taraflex

Basically no base. Write a json file if it's just current courses without history.

Y
Yuri Shikanov, 2015-01-15
@dizballanze

psycopg2 supports Python 3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question