def copy_over(source, dest):
 if (os.path.exists(dest) and os.path.isdir(dest)):
  shutil.rmtree(dest)
 shutil.copytree(source, dest)
 os.chmod(dest, ((((stat.S_IRWXU | stat.S_IRGRP) | stat.S_IXGRP) | stat.S_IROTH) | stat.S_IXOTH))
 shutil.rmtree(source)

def copy_over ( source , dest ) : if ( os . path . exists ( dest ) and os . path . isdir ( dest ) ) : shutil . rmtree ( dest ) shutil . copytree ( source , dest ) os . chmod ( dest , ( ( ( ( stat . S_IRWXU | stat . S_IRGRP ) | stat . S_IXGRP ) | stat . S_IROTH ) | stat . S_IXOTH ) ) shutil . rmtree ( source )
copies from the source to the destination .