parameters: (self, directory, fileExtList)
return_statement: return fileList
docstring: Returns list of file info objects for files of particular extensions.
  
          :param `directory`: the folder containing the images to thumbnail;
          :param `fileExtList`: a Python list of file extensions to consider.
docstring_summary: Returns list of file info objects for files of particular extensions.
docstring_tokens: Returns list of file info objects for files of particular extensions .
function: def ListDirectory(self, directory, fileExtList):
          """
          Returns list of file info objects for files of particular extensions.
  
          :param `directory`: the folder containing the images to thumbnail;
          :param `fileExtList`: a Python list of file extensions to consider.
          """
  
          fileList = [os.path.normcase(f) for f in os.listdir(directory)]               
          fileList = [f for f in fileList \
                      if os.path.splitext(f)[1] in fileExtList]                          
  
          return fileList
function_tokens: def ListDirectory ( self , directory , fileExtList ) : fileList = [ os . path . normcase ( f ) for f in os . listdir ( directory ) ] fileList = [ f for f in fileList if os . path . splitext ( f ) [ 1 ] in fileExtList ] return fileList