This is the code I am using,
from uuid import uuid1, uuid4 def test1(n): for _ in range(0,n): uuid1()