On Oct 28, 9:35 am, Iain King <iaink... at gmail.com> wrote: > It's equivalent to: > > if columns: > if columns[-1][0] == s: > dostuff() > > i.e. check columns is not empty and then check if the last item > startswith 's'. Thanks!