def OnCharButton(args): index = int(args[1]) from partyWnd import PARTYWND PARTYWND.setFromCharacterInfo(index)