title: How to generate a list in Python 3?
body: <p>I use Python 3.4. I want to generate a list that contains integers, relating to the corresponding hex by the algorithm:</p>
  
  <pre><code>hex-view:
  
  000000 // first value in list
  010101 // second
  020202 // third
  
  .....
  FFFFFF // end.
  </code></pre>
  
  <p>After, I just use int:</p>
  
  <pre><code>[int(x) for x in hex_list].
  </code></pre>
  
  <p>How to generate a hex list? Many thanks.</p>