News for hackers. Stuff that matters.
Re:Usefulness of inventing programming languages by muyuu on Tuesday April 26, 2011 @11:20AM (#2485582)
You can use the dictionary method "get" and default it to None.

http://docs.python.org/library/stdtypes.html#dict.get

There are no comments on this comment yet.