code: def decompile_pyc(bin_pyc, output=sys.stdout):
      """
      decompile apython pyc or pyo binary file.
  
      :param bin_pyc: input file objects
      :param output: output file objects
      """
  
      from turicreate.meta.asttools import python_source
  
      bin = bin_pyc.read()
  
      code = marshal.loads(bin[8:])
  
      mod_ast = make_module(code)
  
      python_source(mod_ast, file=output)
  
file_path: turicreate/src/python/turicreate/meta/decompiler/__init__.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from .instructions import make_module, make_function
  import _ast
  import struct
  import time
  import sys
  import marshal
label_desc: Use image node_id 3 for calling a global function with example usage: decompile_pyc(bin_pyc, output) without return types