I am new to python and would appreciate if someone could point me in the right direction. I want to create a program that allows the user to enter a directory where some files are located and give them the option to delete any files with the same file name. It would be useful for music. I have a lot of music and in many case a couple files for the same song. I figured the best way to write this would be by reading the name of each file and writing it to a text file. And before each file is written to the txt file you would have the program check if the file already exist and if it does then delete it. What do you think?
Thanks,
Nick
Thanks,
Nick
Comment