一.往Excel中写数据 使用pip install xlwt安装xlwt模块,用xlwt模块进行对Excel进行写数据. import xlwt # book = xlwt.Workbook() # sheet = book.add_sheet('students') # # sheet.write(0, 0, 'id') # sheet.write(0, 1, 'name') # sheet.write(0, 2, 'age') # # sheet.write(1, 0, '1') # sh…