If I have a dictionary such as:
d = {'a' : 1, 'b' : 2}
is there a way to convert it into an object o, such as:
o.a = 1
o.b = 2
thanks
--
View this message in context: http://www.nabble.com/converting-dic....html#a7649225
Sent from the Python - python-list mailing list archive at Nabble.com.
Comment