anonymous assignment
D'Arcy J.M. Cain
darcy at druid.net
Sun May 11 23:23:52 EDT 2008
On Mon, 12 May 2008 02:28:13 GMT
Yves Dorfsman <yves at zioup.com> wrote:
> particular case, there's got to be a better way than:
>
> d = time.local()
> y = d[0]
> d = d[1]
Like this?
y, d = time.local()[:2]
--
D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
More information about the Python-list
mailing list