Creating A Dictionary From A String In Python