Bad code: Part 1 Tuesday September 30, 2008 13:20, Will Kahn-Greene | Tweet this If you're writing code like this: try: foo = somevar.getBlah()["xyz"].split(".")[-1].decode("ascii", "replace") except: pass Please stop! You're killing the rain forest! Want to comment? Send an email to willkg at bluesock dot org. Include the url for the blog entry in your comment so I have some context as to what you're talking about.