docstr: Display given file
docstr_tok: ["Display","given","file"]
code: def show_file(self, file, **options):
      """Display given file"""
      fd, path = tempfile.mkstemp()
      with os.fdopen(fd, "w") as f:
          f.write(file)
      with open(path) as f:
          command = self.get_command_ex(file, **options)[0]
          subprocess.Popen(
              ["im=$(cat);" + command + " $im; rm -f $im"],
              shell=True,
              stdin=f,
          )
      os.remove(path)
      return 1
  
imports: import os
  import shutil
  import subprocess
  import sys
  import tempfile
  from shlex import quote
  from PIL import Image
label_desc: Use image node_id 2 for calling the UnixViewer obj's underlying member method code with example usage: obj.show_file(file) and returns: int