Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to split a string into a dictionary in Python

dictionary = { index: sample for index, sample in enumerate(string.split(separator)) }
 
PREVIOUS NEXT
Tagged: #How #split #string #dictionary #Python
ADD COMMENT
Topic
Name
1+1 =