I have a list like the following:
my_list =['[] [How, you, today] [] []','[] [the] [weather, nice, though] [] []']
I would like to split the list in a way to get the following output.
output_list = ['[]', '[How, you, today]', '[]', '[]','[]', '[the]',
'[weather, nice, though]', '[]', '[]']
I have tried the following but do not get the result i am looking for.
[word for line in my_list for word in line.split('')]