/ Published in: Python
URL: http://www.codigopython.com.ar/miniguias/copyright-dinamico
Este script obtiene el año actual lo compara con el año de publicación inicial de nuestro copyright y actuá en consecuencia.
This script gets the current year compared with the year of initial publication of our copyright and acted accordingly.
Expand |
Embed | Plain Text
import time Year = time.strftime("%Y") if Year > 2009: print "\302\251 Copyright 2009 - %s Codigo Python. All rights reserved." % Year else: print "\302\251 Copyright 2009 Codigo Python. All rights reserved."
You need to login to post a comment.
