Core: learn it Step 14 of 16 on the Python Developer roadmap

Organising files and folders

pathlib and shutil can create folders and copy, move and rename files. Try a script that sorts a messy folder into subfolders by file type.

Resources

More in Automating everyday tasks

See it on the Python Developer roadmap