On Tuesday 09 February 2010 14:19:17 Nick Mellor wrote: > Thanks Shaun, > > I renamed the "now" variable as "dt" but it didn't help. I've also > tried your 1-tuple idea-- no change. > > Note that the offending line isn't the html assignment but: > > now = datetime.datetime.now() >
Make sure your import line is correct.
In [1]: import datetime
In [2]: datetime.datetime.now()
Out[2]: datetime.datetime(2010, 2, 9, 14, 23, 25, 155503)
--
Decemba, n: The 12th month of the year.
erra, n: A mistake.
faa, n: To, from, or at considerable distance.
Linder, n: A female name.
memba, n: To recall to the mind; think of again.
New Hampsha, n: A state in the northeast United States.
New Yaak, n: Another state in the northeast United States.
Novemba, n: The 11th month of the year.
Octoba, n: The 10th month of the year.
ova, n: Location above or across a specified position. What the
season is when the Knicks quit playing.
-- Massachewsetts Unabridged Dictionary
signature.asc
Description: This is a digitally signed message part.

