parameters: (name, quiet = True)
docstring: Remove the specified directory.
docstring_summary: Remove the specified directory.
docstring_tokens: Remove the specified directory .
function: def remove_dir(name, quiet = True):
      """ Remove the specified directory. """
      try:
          if path_exists(name):
              shutil.rmtree(name)
              if not quiet:
                  sys.stdout.write('Removing '+name+' directory.\n')
      except IOError, (errno, strerror):
          sys.stderr.write('Failed to remove directory '+name+': '+strerror)
          raise
function_tokens: def remove_dir ( name , quiet = True ) : try : if path_exists ( name ) : shutil . rmtree ( name ) if not quiet : sys . stdout . write ( 'Removing ' + name + ' directory.\n' ) except IOError , ( errno , strerror ) : sys . stderr . write ( 'Failed to remove directory ' + name + ': ' + strerror ) raise