Answers to Selected Questions and Problems

Figure 8: Python script to remove all other files except HTML from a directory This script recursively deletes all of the files in a root directory that do not end with the HTML extension. When running the script, the only parameter needed is the path to the root directory where the files are located. ................
................