Un poema en python

Jordi Pascual jordipascual en ono.com
Dom Jul 9 19:40:16 CEST 2006


Pues no, no funcionaba, pero ahora sí.
Lo pongo aquí por si deja de funcionar otra vez. :)

[quote]
if you in (depressed, sadness, resignation):
    print 'me, my sweetheart'
if feel(you) is 'lonely' or feel(you) is 'neglected':
    talk_me(this)
while always:
    I.take_care(you)
    if you.love() is not me:
        # I will follow in the madness
        # I will 
        break # down...
for emotion in my.heart:
    try:
        your.lover = me
    except:
        your.best_friend = me
if you.hate(me):
    love(me)
elif I.annoying():
    love(me)
else:
    love(me, how='deeply', when='now') 

[/quote]

Gracias Chema, ese también está muy bien.


Chema Cortes escribió:
> El 2006/7/9, astralrod <astralrod en gmail.com> escribió:
>> ME escontraba buscoando algna forma de navegar mas facilmente por
>> internet
>> mediante alguna aplñicacion en python (quiero crear un browser en
>> python) y
>> mientras buscaba ejemplos me enconre con un poema en python, les deo el
>> link, espero lo disfruten, esta en ingles, pero no sera muy
>> complicada su
>> traduccion, la pagina es:
>>
>> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496781
>>
>> Suerte!
>
> Pues no hay suerte. Me dice que no encuentra ésa URL.
>
> De todas formas, junto con las "baterías incluídas", python también
> lleva un poema:
>
> $ python -c "import this"
> _______________________________________________
> Python-es mailing list
> Python-es en aditel.org
> http://listas.aditel.org/listinfo/python-es
>




Más información sobre la lista de distribución Python-es