text: """
  This module illustrates how to prepare a task for automation using argparse
  and configparser. It reads the arguments from another file.
  """
  
  import argparse
  import configparser
  
  def main(number, other_number):
      result = number * other_number
      print(f'The result is {result}')
  
  if __name__ == '__main__':
      parser = argparse.ArgumentParser()
      parser.add_argument('-n1', type=int, help='a number', default=1)
      parser.add_argument('-n2', type=int, help='another number', default=1)
  
      parser.add_argument('--config', '-c', type=argparse.FileType('r'),
                          help='config file')
  
      args = parser.parse_args()
  
      if args.config:
          config = configparser.ConfigParser()
          config.read_file(args.config)
  
          # Transforming values into integers
          args.n1 = int(config['ARGUMENTS']['n1'])
          args.n2 = int(config['ARGUMENTS']['n2'])
  
      main(args.n1, args.n2)
  