Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert text file into list

crimefile = open(fileName, 'r')
yourResult = [line.split(',') for line in crimefile.readlines()]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #text #file #list
ADD COMMENT
Topic
Name
8+6 =