6 lines
173 B
Python
6 lines
173 B
Python
|
|
line = "Smith,John,417 Evergreen Av,Chimichurri,481-3172"
|
||
|
|
fields = line.split(',')
|
||
|
|
print fields
|
||
|
|
# output:
|
||
|
|
# ['Smith', 'John', '417 Evergreen Av', 'Chimichurri', '481-3172']
|