how to convert txt data into list in python code example
Example: convert text file into list
crimefile = open(fileName, 'r')
yourResult = [line.split(',') for line in crimefile.readlines()]
crimefile = open(fileName, 'r')
yourResult = [line.split(',') for line in crimefile.readlines()]