> import sys, xml, urllib > > dummy = [sys.stdout.write(city + ': ' + str(num) + '\n') for city, num in > set([[(a, o.count(a)) for a in p] for o, p in [2*tuple([[city for city in > ((xml.dom.minidom.parseString(urllib.urlopen(' > http://api.etsy.com/feeds/xml_user_details.php?id=' > + str(id)).read()).getElementsByTagName('city')[0].childNodes + [(lambda > t: (setattr(t, 'data', 'no city'), > t))(xml.dom.minidom.Text())[1]])[0].data.lower().replace(' ', ' ') for id > in [71234, 71234, 71234, 71234, 71234, 71234, 42792])]])]][0])] >
Is that python or perl?
-- http://mail.python.org/mailman/listinfo/python-list