code: def parse_args(sys_argv, usage):
      
      args = sys_argv[1:]
  
      parser = OptionParser(usage=usage)
      options, args = parser.parse_args(args)
  
      template, context = args
  
      return template, context
docs: Return an OptionParser for the script.