Possible starting letters of uuid4() in Python
<p>I'm using uuid4() to generate random names for my files. However, I need to know the possible starting letters for these files. Can the uuid4()'s only start with [a-z,A-Z,0-9] or can they also include punctuation characters like [_-,]? I cannot find a reference for this.</p>

<p>I'm guessing you are using hex and so it would be 0-f. </p>

<p>Otherwise from the spec it is:
UUID.hex
The UUID as a 32-character hexadecimal string.</p>

<p>UUID.int
The UUID as a 128-bit integer.</p>

<p>UUID.urn
The UUID as a URN as specified in RFC 4122.</p>

<p>Ref -> <a href="https://www.ietf.org/rfc/rfc4122.txt" rel="nofollow">https://www.ietf.org/rfc/rfc4122.txt</a></p>

python