Possible Duplicate:
Making a flat list out of list of lists in Python
Join a list of lists together into one list in Python

I have many lists which looks like


I want the above to look like

['it', 'was', 'annoying']

How do i get this?

Best Answer

import itertools
ab = itertools.chain(['it'], ['was'], ['annoying'])

Just another method....