Quantcast
Viewing latest article 4
Browse Latest Browse All 16

Working with SQLite in Raspberry Pi using Python 3

Last time we did few basic operations with SQLite in Raspberry Pi. We learned how to set up SQLite3, create first database file and fill with data. Using SQL commands we were able to select data and print in terminal screen. But eventually you are going to face with more complex queries or will need to store data automatically so it could be read by other routines and so on. For instance you are going to build a simple project that would read data from digital temperature sensor. One of great ways of storing data in to database is to use python script. Anyway you are probably gonna use it for GPIO operations. So lets learn how to store simple data to sqlite database using python. I am going to use Python3. Raspberry Pi comes with Python 2.7 built in so we will need to install Python3. To do so … Continue reading

Viewing latest article 4
Browse Latest Browse All 16

Trending Articles