Say I have a dictionary
mydict = {\'x\':val1,\'x2\':val2}
I would like to do something like
mydict[\'x3\'] = some_func(mydict[\'x1