I have read in a .txt file and have split those lines up into a list. This list contains header info and data. I want to use the header info to name subsequent lists. Because the data contained in the original list (seen below as My\_list) are all strings, it is an object which does not support item assignment. I'm trying to make new lists objects with their names defined by the strings in an existing list.

I'd like for Name1 and Name2 to be the names of list objects to which I can append data.

Errors include 'str' object does not support item assignment and 'str' object has no attribute 'append'.

These errors aren't unexpected, but I'm not sure how to turn this string into the name of my new list.

```py
    My_list = [line.split() for line in open("file.txt", "r") ]

    ListNames = My_list[0]

    #My_List[0] = ['Name1','Name2']

    for i in range(1,len(My_list)):
        ListNames[0].append(My_list[i][0])
        ListNames[1].append(My_list[i][1])

```