lundi 15 février 2016

how to store data from file in sqlite database in python?

This is what I have;

file A:
644,7797,7541,87541.55
54657,545.54,655454,56565

I want to store this data from file A in sqlite database with this format;

format:

line1       644       7797       7541       87541.55
line2       54657     545.54     655454     56565
line3       123.23    455222.1   54549999   0.3

what is the best way to store and call this items in python[3]?

Thank you

Aucun commentaire:

Enregistrer un commentaire