add py26 compatibility to show.py