python filter a dict by keys in list code example
Example: filter dict by list of keys python
dict_you_want = { your_key: old_dict[your_key] for your_key in your_keys }
dict_you_want = { your_key: old_dict[your_key] for your_key in your_keys }