I am trying to replace an Image file using Python PIL.
im = Image.open(logo_dir+cat_string_im)
What function do I call to delete the original file?
im.delete() or im.replace() don't work.
I am trying to replace an Image file using Python PIL.
im = Image.open(logo_dir+cat_string_im)
What function do I call to delete the original file?
im.delete() or im.replace() don't work.