python mysql database datetime

后端 未结 0 976
再見小時候
再見小時候 2020-12-29 08:01

i have a value in a datetime column at my database, and i want to print it like this

        cursor.execute("SELECT * from botkeys WHERE mykey = "+r         


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