As variáveis ​​de classe python tornam Blobal

x = 10

class myClass1():
  global x # This takes the variable x outside this class
Poor Pygmy