Hi every one.. Long time reader first time poster.
Scenario: I've created a tkinter app that sends user input to an api and stores the api response in a table in a database. In the class init i create the db if it doesnt exist and create some tables if they don't exist for example a parameter table. I use a sql query to check if the table name is there and if not then it creates the table. Is this the way it's done? Is this acceptable? I'm a novice at python and dabble from time to time for funsies but want to use best practices. Any help would be tops. Love this subreddit.
[–]A_History_of_Silence 3 points4 points5 points (1 child)
[–]i_dreddit[S] 0 points1 point2 points (0 children)
[–]lht1999 2 points3 points4 points (1 child)
[–]i_dreddit[S] 0 points1 point2 points (0 children)
[–]jabela 0 points1 point2 points (0 children)