title: Python uuid4, How to limit the length of Unique chars
body: <p>In Python, I am using uuid4() method to create a unique char set. But I can not find a way to limit that to 10 or 8 characters. Is there any way?</p>
  
  <p><code>uuid4()</code></p>
  
  <p><code>ffc69c1b-9d87-4c19-8dac-c09ca857e3fc</code></p>
  
  <p>Thanks. </p>