Browsing: Python error handling