Return to Snippet

Revision: 36512
at November 22, 2010 16:13 by eliluminado


Initial Code
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."

Initial URL
http://www.codigopython.com.ar/miniguias/copyright-dinamico

Initial Description
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.

Initial Title
Dynamic copyright

Initial Tags


Initial Language
Python