How do I delete the Nth list item from a list of lists (column delete)?
You can do it with a list comprehension:
>>> removed = [ l.pop(2) for l in L ]>>> print L[['a', 'b', 'd'], [1, 2, 4], ['w', 'x', 'z']]>>> print removed['d', 4, 'z']
It loops the list and pops every element in position 2.
You have got list of elements removed and the main list without these elements.