the most amazing python script you ever wrote ?
omarish: I wrote a websnapr equivalent one time. I needed thumbnails of every website on the internet and favicons wouldn't do.So my script:1. connected to a database and found a list of sites it needed images of2. checked the image table to make sure there was a recent (< 1 day) snapshot3. if there was not, it would start X, take a screenshot4. use photologue to compress it on-the-fly5. save the pictureit was less than 200 lines, but it worked really well. that's still my pride and joy.