##可变参数 PORT = 3306 #常量 def mysql(host,user,password,port,charset,sql,db): print('连接mysql') # mysql('ip','user','sdfsdf',3306,'sdfsdf','select','db')# mysql(user='root',password='123456',host='192.168.1.3',# port=3306,sql='sdfsdf',db='sdfsdf',charset=