Python Catch KeyError

June 26, 2019
try:
    # do something
except KeyError as e:
    print(e)
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.