Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 272 Bytes

move-files.md

File metadata and controls

14 lines (9 loc) · 272 Bytes

Move Files

There's several ways to do this, but I prefer using shutils for file operations.

import shutil

shutil.move('/original/path/to/file', '/new/path/to/file')

Reference

shutil Documentation