问题
I cannot find a clear guide on how to build an SQL database which can interact with python code. What I want to do is have an SQL database which can save certain variables from my python code, so that I can load them later from the database. This should be able to support multiple users, so users should need to put in their username and password to access their information in the database. Does anybody have code to do this, or know of a guide that could help me out? Thanks :)
P.S. I know little to none about SQL databases and the different types, so I apologise if my question may seem not very specific.
回答1:
If you are ok using MySQL this video series looks to be a good place to start: link
来源:https://stackoverflow.com/questions/62658307/python-saving-feature-using-sql-database