How to convert a txt to list 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()]