I'm trying to get this code to run. How do I access the class's static variable inside a function? Can't believe I can't find a similar question.
class myClass:
    proxies = []
    def doIt(self):
        proxies.append(1)
theClass = myClass()
print theClass.proxies
print myClass.proxies
theClass.doIt()
print theClass.proxies
print myClass.proxies
 
    