code: def main():
      
      args = parse_args()
  
      try:
          s = pyhsm.base.YHSM(device=args.device, debug=args.debug)
          get_entropy(s, args.iterations, args.ratio)
          return 0
      except pyhsm.exception.YHSM_Error as e:
          sys.stderr.write("ERROR: %s" % (e.reason))
          return 1
docs: What will be executed when running as a stand alone program.