>>> from classVar import * >>> c1=C() >>> c1 >>> c2=C() >>> c2 >>> c1.getInstances() 2 >>> c2.getInstances() 2 >>> c1.setValue(10) >>> c1.getValue() 10 >>> print c1 Instance of class C, value = 10 >>> c2.setValue(20) >>> c2.getValue() 20