pythoncom.CreateGuid

PyIID = CreateGuid()

Creates a new, unique GUIID.

Comments

Use the CreateGuid function when you need an absolutely unique number that you will use as a persistent identifier in a distributed environment.To a very high degree of certainty, this function returns a unique value – no other invocation, on the same or any other system (networked or not), should return the same value.