logo头像
Snippet 博客主题

sql 参数化

sql语句的参数化,可以有效防止sql注入注意:此处不同于python的字符串格式化,全部使用%s占位 from pymysql import * def main(): find_name = input("请...