plus one in function python
<p>so say i had this</p>

<pre><code>global a
a = 1       
def newre():
    global a
    a += 1

b = str(a)
print b
op = urlopen('http://website/'+b+'.html')
ops = op.read()
</code></pre>

<p>it wont work because maybe its in a function i guess but how you make it so that each time the class is run then b in op would be 1 higher then before?</p>
