How can I delete a specific number of files using python (version 2.5)?
I would like to remove two files from a folder at the end of my script. Do I need to create a function that is responsible for deleting these two specific files? I would like to know in detail how to use os.remove (if that's what I should be using) correctly. These two files will always be discarded when my script finishes (which packs a number of files together in zip format). Thank you in advance.
0
source to share