0

How to make class to add new products in database ?

27th Jun 2020, 11:15 AM
‎‏‪Yazeed Alyazeedi ‬‏‎
‎‏‪Yazeed Alyazeedi ‬‏‎ - avatar
3 odpowiedzi
+ 5
A good way to start doing this is by using sqlite3. It is a Python module which enables you to connect to SQLite databases and manipulate them by using normal SQL syntax within Python. CHECK THIS OUT: https://code.sololearn.com/csyhsIovmZJ3/?ref=app (the code above links to :memory: but it can link to a respective .db file)
27th Jun 2020, 11:46 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 6
Could you please be more specific? Do you want to create an SQL database and manipulate it with Python?
27th Jun 2020, 11:16 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
Yes
27th Jun 2020, 11:18 AM
‎‏‪Yazeed Alyazeedi ‬‏‎
‎‏‪Yazeed Alyazeedi ‬‏‎ - avatar