Home > other >  Python error string index out of range for help
Python error string index out of range for help

Time:12-08

Data source for circulation to generate a list of, want the output to excel, but encountered an error string index out of range, really can not find where, for help you a great god

[' 263643 ', 'SE * CE (189 shopping center store)', '* * * * * * co., LTD., Shanghai', 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 456.0, 1.0, 0.0017, 0.78, 228.0, 1.0, 0.0007, 0.16]
Each length of the list for 19

 
For a in range (len (column_title)) : # column name
Work_sheet. Write (0, a, column_title [a])
For I in range (0, 100) : # filling cell cycle
Data=https://bbs.csdn.net/topics/row_content [I]
For j in range (0, 18) :
Work_sheet. Write (I + 1, j, data [j])
Work_book. Save (save_path)



  • Related