def pr(data, start=0, end=None):
 pprint(list(islice(data, start, end)))

def pr ( data , start = 0 , end = None ) : pprint ( list ( islice ( data , start , end ) ) )
pretty print a sequence of data items .