Hacker News new | ask | show | jobs
by new_user_final 504 days ago
You can use following syntax in python, ugly but better than multiple and (I don't use python anymore)

    if dict.get('key', {}).get('key-nested',{}).get....: