->
Oreilly - How do I handle missing dictionary keys in Python? - 9781491994856
Oreilly - How do I handle missing dictionary keys in Python?
by Aaron Maxwell | Publisher: Infinite Skills | Release Date: June 2017 | ISBN: 9781491994856


When working with Python dictionaries, sometimes your code has to deal with keys that may not be there; depending on the situation, this is trickier than it looks. In fact, your code may have a major bug in it right now! Learn the three different techniques for handling missing dict keys, their different strengths, and avoidable gotchas.Learn 3 coding methods to handle missing keys in your dictionary data structureUnderstand which method to use - when, and why, and the pros and cons of each methodLearn how to practically apply each method and what problems each one solvesFully understand the nuances of the often maligned dict.get() methodAaron Maxwell is author of the book "Powerful Python: The Most Impactful Patterns, Features, and Development Strategies Modern Python Provides." As a software engineer, he has worked in devops, test automation, and machine learning; and now divides his time between coding, writing, and teaching.Other videos in this series:What are f-strings in Python and how can I use them?
  1. How do I handle missing dictionary keys in Python? 00:09:06
  2. Oreilly - How do I handle missing dictionary keys in Python?


 TO MAC USERS: If RAR password doesn't work, use this archive program: 

RAR Expander 0.8.5 Beta 4  and extract password protected files without error.


 TO WIN USERS: If RAR password doesn't work, use this archive program: 

Latest Winrar  and extract password protected files without error.


 Coktum   |  

Information
Members of Guests cannot leave comments.




rss