Here's my attempt to write a function that flattens a nested dictionary structure in Python 3.6. ... Second, and this also apply to the all() call, you can use simpler generator expression instead of full list-comprehension to play it nicer with the memory. This only means removing the square brackets around the expression: dictionary_ = dict.
azure remote desktop web client