How can I constantly hold my database connection in one file, Then import functions from that file into other files

后端 未结 0 1727
暖寄归人
暖寄归人 2021-02-01 00:44

I\'ve recently made a discord bot, I have my file "datab.py" which contains my connection to my MySQL database.

d         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题