title: Python - how to create a random string 8 bytes long?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2257441/python-random-string-generation-with-upper-case-letters-and-digits">python random string generation with upper case letters and digits</a>  </p>
  </blockquote>
  
  
  
  <p>I need to create a random string that is 8 bytes long in python.</p>
  
  <pre><code>rand_string = ?
  </code></pre>
  
  <p>How do I do that?</p>
  
  <p>Thanks</p>