[Fiware-comms] Fwd: Re: Fwd: Re: VERSION FINAL código camiseta Geek en Phyton

Juanjo Hierro jhierro at tid.es
Fri Aug 2 13:26:47 CEST 2013


Hola,

  Os mando instrucciones de como debe de cortarse la línea para que el programa Python siga siendo correcto.


        if isinstance(specimen, Human) and match(r'(.*)Internet$', earth.era) \
        and specimen.loves_to_create():
            earth.internet_developers += 1
        earth.specimens.append(specimen)
        earth.population += 1
        earth.life_evolve()

   Ojo al "\" al final de la primera línea, que hace falta.

   Pongo en copia a Fermín Galán, que es quién lo ha programado, por si surgen más dudas.

  Saludos,

-- Juanjo


________________________________

Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-comms/attachments/20130802/53e2df74/attachment.html>


More information about the Fiware-comms mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy