News Reader on RjSteinert.com

May 15, 2012

  • When requesting and parsing data from a source with unknown properties and random behavior (in other words, scraping), I expect all kinds of bizarrities to occur. Managing exceptions is particularly helpful in such cases.

    Here is some ways that an exception might be raised.

    [][0] #The list has no zeroth element, so this raises an IndexError
    {}['foo'] #The dictionary has no foo element, so this raises a KeyError
    

    Catching the exception is sometimes...

April 20, 2012

April 17, 2012

  • This is a guest post by Martha Rotter, co-founder of Woop.ie and recently launched Irish technology magazine Idea.

    Hey remember the Wikipedia blackout? I do, because I was highly amused by the number of students panicking due to papers or homework they seemingly could not complete without this...

April 2, 2012

March 28, 2012

March 26, 2012

March 22, 2012

March 19, 2012

March 16, 2012

March 13, 2012

Need help?
Embed
Copy and paste this code to your website.
User login
6:06pm May 21-8:00 GMT