Need a specific sort of string modification. Can someone help?

Steven D'Aprano steve+comp.lang.python at pearwood.info
Mon Jan 7 00:19:53 CET 2013


On Sun, 06 Jan 2013 12:28:55 -0500, Roy Smith wrote:

> I've been doing some log analysis.  It's been taking a grovelingly long
> time, so I decided to fire up the profiler and see what's taking so
> long.  I had a pretty good idea of where the ONLY TWO POSSIBLE hotspots
> might be (looking up IP addresses in the geolocation database, or
> producing some pretty pictures using matplotlib).  It was just a matter
> of figuring out which it was.
> 
> As with most attempts to out-guess the profiler, I was totally,
> absolutely, and embarrassingly wrong.

+1 QOTW

Thank you for sharing this with us. 


-- 
Steven



More information about the Python-list mailing list