the txt file is like the following:
a.txt
['a','b','c'] #single line txt file
What I want to do is, in Python commandline:
>> f = open('a.txt','r')
>> a = f.readline() # want to put the list in to a, same as "a = ['a','b','c']"
What should I do? New to python, can't think of an idea.
Thanks in advance!