Renaming Files in Directory – Python

This script will look for all the files in a directory that end with the extension .txt and change them all to .html using the rename function in the os module. The script was written for a directory with the following structure Also, I am sure there is a more eficient way of getting the […]