Graham> I'd like to write a script to analyse the source code and tell Graham> me which bits haven't been used, but I'm at a bit of a loss for Graham> where to start. Check out pychecker. That may get you 90% of the way there. If not, it probably provides a good framework to add the necessary logic. http://pychecker.sf.net/ Skip