摘要:
一、动态的导入模块 module = ‘src.user_info’ func_name = 'add' import importlib m = importlib.import_module(module) func = getattr(m,func_name) func() 阅读全文
posted @ 2021-03-11 17:56
bruce.sharp
阅读(69)
评论(0)
推荐(0)
摘要:
一、简单版 from builtins import printimport pymysqlconn = pymysql.connect(host='127.0.0.1',port=3306,user='root',passwd='mysql',db='test')cursor = conn.cur 阅读全文
posted @ 2021-03-11 10:21
bruce.sharp
阅读(57)
评论(0)
推荐(0)
浙公网安备 33010602011771号