add py26 compatibility to show.py

currently in py26, show output using the -c modifier fails due to the py26 version of itertools not possessing the compress method.  This pull takes the same technique as used in list.py to fix that problem.