/ Published in: Python
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.
This script gets the current year compared with the year of initial publication of our copyright and acted accordingly.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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."
URL: http://www.codigopython.com.ar/miniguias/copyright-dinamico