I know that I can create a subset of a dictionary by the following code:
#I get only fields a,b and c from the old dict
newdict = {k: olddict.get(k, None) for k in ('a', 'b', 'c')}
but suppose I need all fields, except "d" and "e"..is there a way to reverse this code?