How to make database connectivity using python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make database connectivity using python

28th Nov 2017, 5:19 PM
Senthil Kumar J
Senthil Kumar J - avatar
2 Answers
+ 5
If you mean an SQL-compliant database, here's one example, with Sqlite3 module: https://code.sololearn.com/csyhsIovmZJ3/?ref=app
28th Nov 2017, 6:19 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 5
And here's the more real-life version - it won't simply work in Sololearn, but you can replace the file paths to fit your needs: https://code.sololearn.com/cfC86Frt41ob/?ref=app
28th Nov 2017, 6:21 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar