Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python Ordered dict to dict

>>> from collections import OrderedDict
>>> dict(OrderedDict([('method', 'constant'), ('data', '1.225')]))
{'data': '1.225', 'method': 'constant'}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #Ordered #dict #dict
ADD COMMENT
Topic
Name
6+6 =