code: def list_options(client):
      maps = [
          m.replace("/Game/Carla/Maps/", "")
          for m in client.get_available_maps()
      ]
      indent = 4 * " "
  
      def wrap(text):
          return "\n".join(
              textwrap.wrap(
                  text, initial_indent=indent, subsequent_indent=indent
              )
          )
  
      print("weather presets:\n")
      print(
          wrap(", ".join(x for _, x in find_weather_presets())) + ".\n"
      )
      print("available maps:\n")
      print(wrap(", ".join(sorted(maps))) + ".\n")
  
file_path: carla/PythonAPI/util/config.py
imports: import glob
  import os
  import sys
  import carla
  import argparse
  import datetime
  import re
  import socket
  import textwrap
label_desc: Use image node_id 3 for calling a global function with example usage: list_options(client) and returns: str