0

I have one data.sqllite file!

can anyone tell me what is the way to read that file in Python??

Thanks in Advance!!

1 Answer 1

1
import sqlite3
conn = sqlite3.connect('example.db')
Sign up to request clarification or add additional context in comments.

2 Comments

i want to see whole the data in python , how to do that, once i read it because after that i want to run query!
for row in conn.execute('SELECT * FROM table'): print row

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.