how can I generate an unique ID for a string, which means only that string has a that id and if we try to put another string in that function it does not match.
CodePudding user response:
Maybe you are looking for uuid.
CodePudding user response:
You can use something like this
import uuid
uuid.uuid1()