T
T
taki_t2016-01-28 23:19:36
Python
taki_t, 2016-01-28 23:19:36

How to write the result of parsing in python to the database?

Tables were assembled from several pages.
Tell me how to put them in an array and write them to the database?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
nirvimel, 2016-01-29
@nirvimel

I advise you to study some kind of ORM, such as SQLAlchemy , so as not to knead SQL manually and not reinvent the wheel.

V
Vov Vov, 2016-01-29
@balamut108

SQlite is already in the box...

V
Vadim Yakovlev, 2016-01-28
@1nn0

Well, like this, for example . You would though specified in what DB? What version of Python?
for PostgreSQL:
Here is a good documentation version of the module. I can't help you without your code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question