B
11

Caught a bug in my first python script that cost me 3 days of work

I was building a simple web scraper for a school project, and last Tuesday I found out Python's urllib library doesn't handle redirects the way I assumed. Spent 3 days debugging before I found a Stack Overflow post explaining the default timeout setting. Has anyone else gotten tripped up by something this basic and had to redo a whole project?
2 comments

Log in to join the discussion

Log In
2 Comments
blair_martin
Man that's rough. At least you found it though, I once spent a whole weekend trying to figure out why my script kept crashing before realizing I forgot a colon on an if statement.
6
jamie770
jamie77011d ago
Three days on a timeout setting? Seems like overkill for a school project.
5