Job Offer: Python Ninja or Pirate!

Sergio Correia sergio.correia at gmail.com
Mon Dec 10 14:05:39 EST 2007


> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20071210/efd71e37/attachment.html>


More information about the Python-list mailing list