Delete a directory before raise exception while opening an image in Python

前端 未结 0 398
心在旅途
心在旅途 2020-12-10 05:28

How can I delete the tmp folder before raising an exception, or before the end of the program?

flag1 = 0
flag2 = 0

with Image.open(\'tmp/image.j         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题