parameters: (directory)
docstring: Removes a directory and everything in it
docstring_summary: Removes a directory and everything in it
docstring_tokens: Removes a directory and everything in it
function: def removeFolderIfExists(directory):
      """Removes a directory and everything in it"""
      try:
          shutil.rmtree(directory)
      except OSError as e: 
          if e.errno != errno.ENOENT: # Continue if the error is "no such file or directory"
              raise
function_tokens: def removeFolderIfExists ( directory ) : try : shutil . rmtree ( directory ) except OSError as e : if e . errno != errno . ENOENT : # Continue if the error is "no such file or directory" raise