code: def decompile(input_, file_, output, format_, jar, limit, decompiler):
      
      from androguard import session
      if file_ and input_:
          print("Can not give --input and positional argument! "
                "Please use only one of them!", file=sys.stderr)
          sys.exit(1)
  
      if not input_ and not file_:
          print("Give one file to decode!", file=sys.stderr)
          sys.exit(1)
  
      if input_:
          fname = input_
      else:
          fname = file_
  
      s = session.Session()
      with open(fname, "rb") as fd:
          s.add(fname, fd.read())
      export_apps_to_format(fname, s, output, limit,
                            jar, decompiler, format_)
docs: Decompile an APK and create Control Flow Graphs.
  
      Example:
  
      \b
          $ androguard resources.arsc