code: def getTempFilename(dir=None, shared=False, suffix=""):
      '''return a temporary filename.
  
      The file is created and the caller needs to delete the temporary
      file once it is not used any more.
  
      Arguments
      ---------
      dir : string
          Directory of the temporary file and if not given is set to the
          default temporary location in the global configuration dictionary.
      shared : bool
          If set, the tempory file will be in a shared temporary
          location.
      suffix : string
          Filename suffix
  
      Returns
      -------
      filename : string
          Absolute pathname of temporary file.
  
      '''
      tmpfile = getTempFile(dir=dir, shared=shared, suffix=suffix)
      tmpfile.close()
      return tmpfile.namf getTempFilename(dir=None, shared=False, suffix=""):
      '''return a temporary filename.
  
      The file is created and the caller needs to delete the temporary
      file once it is not used any more.
  
      Arguments
      ---------
      dir : string
          Directory of the temporary file and if not given is set to the
          default temporary location in the global configuration dictionary.
      shared : bool
          If set, the tempory file will be in a shared temporary
          location.
      suffix : string
          Filename suffix
  
      Returns
      -------
      filename : string
          Absolute pathname of temporary file.
  
      '''
      tmpfile = getTempFile(dir=dir, shared=shared, suffix=suffix)
      tmpfile.close()
      return tmpfile.name
docs: return a temporary filename.
  
      The file is created and the caller needs to delete the temporary
      file once it is not used any more.
  
      Arguments
      ---------
      dir : string
          Directory of the temporary file and if not given is set to the
          default temporary location in the global configuration dictionary.
      shared : bool
          If set, the tempory file will be in a shared temporary
          location.
      suffix : string
          Filename suffix
  
      Returns
      -------
      filename : string
          Absolute pathname of temporary file.