docstr: Start the right viewer based on file format and platform.
docstr_tok: ["Start","the","right","viewer","based","on","file","format","and","platform","."]
code: def _view(self, filepath, format, quiet):
      """Start the right viewer based on file format and platform."""
      methodnames = [
          "_view_%s_%s" % (format, backend.PLATFORM),
          "_view_%s" % backend.PLATFORM,
      ]
      for name in methodnames:
          view_method = getattr(self, name, None)
          if view_method is not None:
              break
      else:
          raise RuntimeError(
              "%r has no built-in viewer support for %r"
              " on %r platform"
              % (self.__class__, format, backend.PLATFORM)
          )
      view_method(filepath, quiet)
  
imports: import codecs
  import io
  import locale
  import logging
  import os
  from ._compat import text_type
  from .None import backend
  from .None import tools
label_desc: Use image node_id 11 for calling the File obj's underlying member method code with example usage: obj._view(filepath, format, quiet) without return types