rename/delete and add print(call instead so you can run the program and verify exactly what it will do often you will need to perform these operations not only on files in one folder but also on every folder in that folderevery folder in those foldersand so on the os walk(function handles this trek across the folders for you so that you can concentrate on what your program needs to do with the files in them the zipfile module gives you way of compressing and extracting files in zip archives through python combined with the file-handling functions of os and shutilzipfile makes it easy to package up several files from anywhere on your hard drive these zip files are much easier to upload to websites or send as email attachments than many separate files previous of this book have provided source code for you to copy but when you write your own programsthey probably won' come out perfectly the first time the next focuses on some python modules that will help you analyze and debug your programs so that you can quickly get them working correctly practice questions what is the difference between shutil copy(and shutil copytree()what function is used to rename fileswhat is the difference between the delete functions in the send trash and shutil moduleszipfile objects have close(method just like file objectsclose(method what zipfile method is equivalent to file objectsopen(methodpractice projects for practicewrite programs to do the following tasks selective copy write program that walks through folder tree and searches for files with certain file extension (such as pdf or jpgcopy these files from whatever location they are in to new folder deleting unneeded files it' not uncommon for few unneeded but humongous files or folders to take up the bulk of the space on your hard drive if you're trying to free up room on your computeryou'll get the most bang for your buck by deleting the most massive of the unwanted files but first you have to find them organizing files