The provided examples, using csv
modules, are great! Besides, you can always simply write to a text file using formatted strings, like the following tentative example:
l = [[1, 2], [2, 3], [4, 5]]
out = open('out.csv', 'w')
for row in l:
for column in row:
out.write('%d;' % column)
out.write('\n')
out.close()
I used ;
as separator, because it works best with Excell (one of your requirements).
Hope it helps!