On Fri, Apr 12, 2013 at 7:18 PM, Rob Schneider <rmschne at gmail.com> wrote: > f.close Yep, there's the problem! See my previous post for details. Change this to: f.close() and you should be sorted. ChrisA