In this video, we will be developing a Tkinter Project which utilizes a MySQL Database. Website Link ### coderslegacy.c... Related Videos ### Dynamic Screen Management: • Tkinter Dynamic Screens
Good question. To avoid an SQL injection, you can use a combination of several things. First of all, sanitize your inputs. Process the data (e.g. regex) to ensure that the input matches what you expect. Secondly, you can use types in Python (typing module). You can also use parametrized inputs. F-strings are potentially vulnerable to SQL injections, so not a good idea. It also depends on your application type. Since the database is meant to be locally hosted here (as in, no one but the user can access the database), there is not much of a security concern. If this was the database for a online hosted service, which anyone could access, then SQL injections would be a much bigger problem. (Might do a video on this topic though)
The link to the video is in the description, titled "Dynamic Screen Management". This UI was created during a video explaining how to manage several windows in Tkinter. Here is the link again: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qgVg-sHBjz0.html