shutil module

  • shutil
  • cp
  • copy
  • copytree
  • move
  • rmtree


examples/shutil/example.py

import shutil

shutil.copy(source, dest)
shutil.copytree(source, dest)
shutil.move(source, dest)
shutil.rmtree(path)