#!python3 #coding:utf-8 import xlwt f = xlwt.Workbook() sheet1 = f.add_sheet(r'sheet1', cell_overwrite_ok=True) sheet1.write(0,0,"Name") sheet1.write(0,1,"Conf") sheet1.write(0,2,"Grid score") sheet1.write(0,3,"Grid_vdw") sheet1.write(0,4,"Grid_es") sheet1.write(0,5,"Int_energy") f.save('dockout.xls')