Message from Python discussions

December 2018

— Environment URL

Message permanent page


Is there a simple way to modify all strings in a dictionary with several levels of nested dictionaries? The thing is that I can’t predict how many levels of nested dicts will be in each instance, and I need to decode all strings before I pass the dict further.

— Check the type of the data?

— It's called recursion


def change(d):
for i in d.keys():
if type(d[i]) is dict:

— What is action script

— Isn't that library discontinued?
Why not try zeep?

— I just read you tried...

— An old language

— Adobe flash

— Yes, so don't use it anymore

— Dead man walking