The catch to the approach suggested by Chris is that you DON'T want to > break out of the whole loop when one value is out of range. You only > want to skip that one point. > > > Yes I want to skip only that one point (centre) but try and expect seems to be the last option.. I would like to try other ways first..
-- http://mail.python.org/mailman/listinfo/python-list