Skip to content

Instantly share code, notes, and snippets.

@Duta
Duta / heroname.py
Last active December 18, 2015 20:48 — forked from gamesbyangelina/heroname.py
from xml.etree import ElementTree as ET
import urllib
import itertools, random
plus = "%2B"
neg = "-"
def getText(nodelist):
rc = []
for node in nodelist: