Based on another Stack Overflow answer, Most lightweight way to create a random string and a random hexadecimal number Most lightweight way to create a random string and a random hexadecimal number , a better version than the accepted answer would be:
('%06x' % random.randrange(16**6)).upper()
much faster.
Based on another Stack Overflow answer, Most lightweight way to create a random string and a random hexadecimal number , a better version than the accepted answer would be:
('%06x' % random.randrange(16**6)).upper()
much faster.
Based on another Stack Overflow answer, Most lightweight way to create a random string and a random hexadecimal number , a better version than the accepted answer would be:
('%06x' % random.randrange(16**6)).upper()
much faster.
Based on another Stack Overflow answer, another SO answer Most lightweight way to create a random string and a random hexadecimal number , a better version than the accepted answer would be:
('%06x' % random.randrange(16**6)).upper()
much faster.
Based on another SO answer, a better version than the accepted answer would be:
('%06x' % random.randrange(16**6)).upper()
much faster.
Based on another Stack Overflow answer, Most lightweight way to create a random string and a random hexadecimal number , a better version than the accepted answer would be:
('%06x' % random.randrange(16**6)).upper()
much faster.