Sometimes you need to create temp files with unique name. For that you can use uuid module. The following code will help you in that
import uuid unique_filename = str(uuid.uuid4()) print(unique_filename)
3149c268-f544-442c-ae9c-ef5c55f7b855
Comment here