Yves Dorfsman wrote:
... Sorry this was a typo (again :-), I meant: d = time.local() y = d[0] d = d[2]
Then:
y, d = list(time.localtime())[:4:2]--Scott David Daniels [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list
Yves Dorfsman wrote:
... Sorry this was a typo (again :-), I meant: d = time.local() y = d[0] d = d[2]
Then:
y, d = list(time.localtime())[:4:2]--Scott David Daniels [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list