Kalle Svensson wrote: >[Dave S] > > >>Is there a neater way of saying ... >> >>syncerr=False >>if 'SyncErr' in file: >> syncerr=True >> >> > > syncerr = 'SyncErr' in file > >Peace, > Kalle > > Sometimes my own stupidity amazes even me ! :-) Many Thanks Dave