I have one long list such as:
m=[[["a", "b"],["c","d"]],[["1", "2"],["3","4"]]]
How could I change it into one list as:
[["a", "b"],["c","d"],["1", "2"],["3","4"]]
You can use nested list comprehension:
[s for l in m for s in l]
With your sample input, this returns:
[['a', 'b'], ['c', 'd'], ['1', '2'], ['3', '4']]