def data(self, index, role):
if index.column() == <NUM_LIT:0> and role == QtCore.Qt.DecorationRole:<EOL><INDENT>if self.isPyz(index):<EOL><INDENT>with ZipFile(str(self.filePath(index)), '<STR_LIT:r>') as myzip:<EOL><INDENT>try:<EOL><INDENT>myzip.extract('<STR_LIT>', self._tmp_dir_work)<EOL>p = os.path.join(self._tmp_dir_work, '<STR_LIT>')<EOL>return QtGui.QIcon(p)<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT><DEDENT><DEDENT>return super(_FileSystemModel, self).data(index, role)<EOL>
use zipped icon.png as icon