title: Python - SyntaxError: can't assign to literal
body: <p>I want to read from a file the variables (they are links) and then open them with <code>urlopen</code> in a while loop so that every link is opened. </p>
  
  <p>My code is:</p>
  
  <pre><code>   # Variables
     from config import *
  
     # Imports
     import urllib
  
  
     i = 0
     url = 100
     while i &lt; 25:
         page = urllib.urlopen( url );
         page.close();
         i = i + 1
         url = 100
         url = url + i
  </code></pre>
  
  <p>The error i get is <code>SyntaxError: can't assign to literal</code>. I kind of understand why, but i don't know how to bypass it!</p>
  
  <p><code>config.py</code></p>
  
  <pre><code>100 = 'https:link'
  101 = 'https:link'
  102 = 'https:link'
  </code></pre>