I want to import the python list to excel. My example code is:
import win32com.client as win32
excel = win32.gencache.EnsureDispatch('Excel.Application')
excel.Visible = 1
wb = excel.Workbooks.Add()
ws = wb.Worksheets("Sheet1")
list1 =("a","b","c","c","c","c","c","c","c","c")
ws.Range("B1:B10").Value = list1
How I have to change the list1 type to use the code ws.Range("B1:B10").Value = list1? What kind of list can use in excel file?