title: Python Brute Force algorithm
body: <p>I need to generate every possible combination from a given charset to a given range.
  Like, </p>
  
  <pre><code>charset=list(map(str,"abcdefghijklmnopqrstuvwxyz"))
  range=10
  </code></pre>
  
  <p>And the out put should be,</p>
  
  <pre><code>[a,b,c,d..................,zzzzzzzzzy,zzzzzzzzzz]
  </code></pre>
  
  <p>I know I can do this using already in use libraries.But I need to know how they really works.If anyone can give me a commented code of this kind of algorithm in Python or any programming language readable,I would be very grateful. </p>