datetime in microseconds

Robert Kern robert.kern at gmail.com
Mon Aug 20 17:34:14 EDT 2007


Robert Dailey wrote:
> A small off topic question. Why use divmod() instead of the modulus
> operator?

Because he needed both the quotient and the remainder. % only gives you the
remainder.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list