def Generate(self):
     weapon = wg.generate()
     self.text.config(state=NORMAL)
     self.text.delete(1.0, END)
     self.text.insert(INSERT, weapon)
     self.text.config(state=DISABLED)
def Generate():
    weapon = WeaponGenerator.generate()
    text.config(state=NORMAL)
    text.delete(1.0, END)
    text.insert(INSERT, weapon)
    text.config(state=DISABLED)
def Generate():
    weapon = WeaponGenerator.generate()
    text.config(state=NORMAL)
    text.delete(1.0, END)
    text.insert(INSERT, weapon)
    text.config(state=DISABLED)