how to fetch list of databases in SQLite using python, I know ".databases" in SQLite console but how to do it with python?
Asked
Active
Viewed 44 times
0
-
3SQLite doesn't have databases. Each file is "a database". Those contain tables. – OneCricketeer Feb 07 '17 at 18:16
-
I want list of database like in MySQL, for now in sqlite i am listing files in one directory as a list of database. is there any proper way? – Mohit Bhalodia Feb 19 '17 at 12:46
-
You can pass the exact same query into Python as the console – OneCricketeer Feb 19 '17 at 15:41