Python delete Dict Key se existir
mydict.pop("key", None)
Nutty Narwhal
mydict.pop("key", None)
my_dict.pop('key', None)