code: def dir_list(directory):
      '''Returns the list of all files in the directory.'''
      try:
          content = listdir(directory)
          return content
      except WindowsError as winErr:
          print("Directory error: " + str((winErr))f dir_list(directory):
      '''Returns the list of all files in the directory.'''
      try:
          content = listdir(directory)
          return content
      except WindowsError as winErr:
          print("Directory error: " + str((winErr)))
docs: Returns the list of all files in the directory.