code: def print_app_info(out=sys.stderr):
      
      print("System info:", file=out)
      print(configuration.App, file=out)
      print("Python %(version)s on %(platform)s" %
                      {"version": sys.version, "platform": sys.platform}, file=out)
      stime = strtime(time.time())
      print("Local time:", stime, file=out)
      print("sys.argv", sys.argv, file=out)
docs: Print system and application info (output defaults to stderr).