Grant Edwards wrote: >>In C, I would do this: >> >>server.invalidUntil = time(NULL) + 5*60; // five minute delay > > In Python, I would do this: > > server.invalidUntil = time.time() + 5*60 # five minute delay
Ah. Well. Um. I feel like an idiot. I found datetime by accident, and thought "it involves time, so this must be what I'm looking for!". Anyway; thanks, that was exactly what I was looking for. -- http://mail.python.org/mailman/listinfo/python-list