Fix show element command for Py3K