On Sat, 21 Feb 2015 16:22:36 +0100, Peter Otten <__peter__ at web.de> wrote: > >Why would you care about a few lines? You don't repeat them, do you? Put the >code into a function or a context manager and invoke it with Thanks for the suggestions that followed.