I\'m working on a project with a friend where we need to generate a random hash. Before we had time to discuss, we both came up with different approaches and because they are us
if you want a unique identifier (uuid), then you should use
import uuid uuid.uuid4().hex
https://docs.python.org/3/library/uuid.html