python delete first file from folder code example Example: python dlete folder import shutil shutil.rmtree('/folder_name')