利用python生成一个导出数据库的bat脚本文件的方法 实例如下:#环境:python3.xdefgetExportDbSql(db,index):#获取导出一个数据库实例的sql语句sql='mysqldump python数据库脚本