code: def load_env_directory():
      
      for var in glob.glob(os.path.join(ENV_DIRECTORY, '*')):
          if os.path.isfile(var):
              os.environ[os.path.basename(var)] = os.path.expandvars(open(var, encoding='utf-8').read())
docs: Adds environment variables defined in :any:`ENV_DIRECTORY` to os.environ.
         Each file will be added to os.environ via filename = contents.
         Supports bash style comments and variable interpolation.