I have a text file which has content:
file = open('add.txt','r')
text = file.read()
column1 = x for x in text
You can use the csv module to read your file into lists, then is just a matter of re-indexing the list order.
import csv list_variable =  with open("file.txt") as add_txt: reader = csv.reader(add_txt, delimiter =';') for line in reader: line += [line.pop(0)] list_variable.append(line)