parameters: (src, dst, quiet = True)
docstring: Copy a directory tree.
docstring_summary: Copy a directory tree.
docstring_tokens: Copy a directory tree .
function: def copy_dir(src, dst, quiet = True):
      """ Copy a directory tree. """
      try:
          remove_dir(dst, quiet)
          shutil.copytree(src, dst)
          if not quiet:
              sys.stdout.write('Transferring '+src+' directory.\n')
      except IOError, (errno, strerror):
          sys.stderr.write('Failed to copy directory from '+src+' to '+dst+': '+strerror)
          raise
function_tokens: def copy_dir ( src , dst , quiet = True ) : try : remove_dir ( dst , quiet ) shutil . copytree ( src , dst ) if not quiet : sys . stdout . write ( 'Transferring ' + src + ' directory.\n' ) except IOError , ( errno , strerror ) : sys . stderr . write ( 'Failed to copy directory from ' + src + ' to ' + dst + ': ' + strerror ) raise