code: def main(*args, **kws):
      """Main script runner"""
      parser = optparse.OptionParser()
      parser.add_option(
          "-w",
          "--windowed",
          action="store_true",
          dest="windowed",
          help="also run examples requiring windowed environment",
      )
      parser.add_option(
          "-q",
          "--quiet",
          action="store_true",
          dest="quiet",
          help="runs examples in 'quiet mode' suppressing example output and \
                showing simple status messages.",
      )
      parser.add_option(
          "--no-summary",
          action="store_true",
          dest="no_summary",
          help="hides the summary at the end of testing the examples",
      )
  
      (options, _) = parser.parse_args()
  
      return (
          0
          if run_examples(
              windowed=options.windowed,
              quiet=options.quiet,
              summary=not options.no_summary,
          )
          else 1
      )
  
file_path: sympy/examples/all.py
imports: import optparse
  import os
  import sys
  import traceback
  import sympy
label_desc: Use image node_id 6 for calling a global function with example usage: main() and returns: unknown