[pyar] Hola mundo!

Juanjo Conti jjconti en gmail.com
Mie Feb 9 07:20:55 ART 2011


>>> print ' '.join([filter(lambda x: ord(x[0]) - 95, [type(l)(l) for l in dir()])[0][:1] + filter(lambda x: ord(x[0]) - 95, [type(a)(a) for a in dir()])[0][1:1+1] + filter(lambda x: ord(x[0]) - 95, [type(l)(l) for l in dir()])[1+1] + filter(lambda x: ord(x[0]) - 95, [type(l)(l) for l in dir()])[0], ([type(l)(l) for l in dir()][-1][-1] + [type(u)(u) for u in dir()][-1][1:-1]).replace(filter(lambda x: ord(x[0]) - 95, [type(l)(l) for l in dir()])[0], [type(u)(u) for u in dir()][-1])])
hola mundo

Copiando y pegando funciona perfecto :)

Bienvenido!

2011/2/9 Francisco Falcon <fdfalcon en gmail.com>:
> Buenas,
> aunque ya participé en un par de threads de la lista, me presento
> oficialmente con un "Hola mundo", como corresponde.
>
> Aclaro que la línea del "print" es una sola, por si en el mail se ve con
> retornos de línea.
>
> import random, hotshot
> print ' '.join([filter(lambda x: ord(x[0]) - 95, [type(l)(l) for l in
> dir()])[0][:1] + filter(lambda x: ord(x[0]) - 95, [type(a)(a) for a in
> dir()])[0][1:1+1] + filter(lambda x: ord(x[0]) - 95, [type(l)(l) for l in
> dir()])[1+1] + filter(lambda x: ord(x[0]) - 95, [type(l)(l) for l in
> dir()])[0], ([type(l)(l) for l in dir()][-1][-1] + [type(u)(u) for u in
> dir()][-1][1:-1]).replace(filter(lambda x: ord(x[0]) - 95, [type(l)(l) for l
> in dir()])[0], [type(u)(u) for u in dir()][-1])])
>
> _______________________________________________
> pyar mailing list pyar en python.org.ar
> http://listas.python.org.ar/listinfo/pyar
>
> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>



-- 
Juanjo Conti
blog: http://www.juanjoconti.com.ar



More information about the pyar mailing list