Learn multiple methods to delete files and folders in Python using os, shutil, and pathlib modules. Complete guide with error handling and best practices for safe file operations.