parameters: (src, dest)
docstring: recursivly copy a directory from |src| to |dest|
docstring_summary: recursivly copy a directory from |src| to |dest|
docstring_tokens: recursivly copy a directory from |src| to |dest|
function: def copy_tree(src, dest):
    """recursivly copy a directory from |src| to |dest|"""
    if not os.path.exists(dest):
      os.makedirs(dest)
  
    for dir_member in os.listdir(src):
      src_name = os.path.join(src, dir_member)
      dest_name = os.path.join(dest, dir_member)
      if os.path.isdir(src_name):
        copy_tree(src_name, dest_name)
        continue
      shutil.copy2(src_name, dest_name)
function_tokens: def copy_tree ( src , dest ) : if not os . path . exists ( dest ) : os . makedirs ( dest ) for dir_member in os . listdir ( src ) : src_name = os . path . join ( src , dir_member ) dest_name = os . path . join ( dest , dir_member ) if os . path . isdir ( src_name ) : copy_tree ( src_name , dest_name ) continue shutil . copy2 ( src_name , dest_name )