I have a list of lists as follows:
L = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
I want to save this in a csv file as follows:
index, name, lists
0, 'name1', [1, 2, 3]
1, 'name2', [4, 5, 6]
2, 'name3', [7, 8, 9]
If this is possible, then how should I do this with python?
csvmodule documentation? What have you tried?\tor tab-char may be more appropriate