«

»

Mar
27

POP!

Recently, whenever I have downtime on the couch I try to learn something new about Python.  For the moment that learning has come through reading other people’s questions on Stack Overflow or the Python subreddit.

Last week, I learned about setdefault(‘key’, default_value), and I got a lot of satisfaction while working on Nudge during the moments when I realized I could utilize my new knowledge.

Today I learned about pop for dictionaries.  Awesome…

http://stackoverflow.com/questions/5330626/pythonic-dictionary-traversal

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>