if you are reading a text like
txt = "['livhu','clean','today'] ['livhu','cook','tomorrow']"
you can parse it into two lists using this code
txt1, txt2 = txt.split()
The output will be...
print(txt1)
>> "['livhu','clean','today']"
print(txt2)
>> "['livhu','cook','tomorrow']"
note that the output still a string
to convert it into list of strings you can use function like this
def convert_to_list(string:str) -> list:
string = string.replace("[", "").replace("]", "") # to replace square brackets "[" and "]"
string = string.replace("'", "") # to replace the single quotes '
return [i for i in string.split(",")]
you can use this function as follow..
li1 = convert_to_list(txt1)
li2 = convert_to_list(txt2)
the output will be..
print(li1)
>> ['livhu','clean','today']
print(li2)
>> ['livhu','cook','tomorrow']
finally you can combine them into one list using this code
li = list1 + list2
The output will be
print(li)
>> ['livhu','clean','today','livhu','cook','tomorrow']
but note that there is assumption here as we assume that the text will contain one space, if there is more spaces you will need more variables to unpack the text.