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
A small off topic question. Why use divmod() instead of the modulus
operator?
On 8/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> On Aug 20, 4:17 pm, [EMAIL PROTECTED] wrote:
> > On Aug 20, 3:15 pm, John Machin <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > On Aug 20, 9:52 pm, [EMAIL PROTEC
On Aug 20, 4:17 pm, [EMAIL PROTECTED] wrote:
> On Aug 20, 3:15 pm, John Machin <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Aug 20, 9:52 pm, [EMAIL PROTECTED] wrote:
>
> > > Hi I have a time in microseconds, for example 0x8C905CBA7F84AF4. I
> > > want this to a normal view in hh:mm:ss DD:MM:. I trie
On Aug 20, 3:15 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Aug 20, 9:52 pm, [EMAIL PROTECTED] wrote:
>
> > Hi I have a time in microseconds, for example 0x8C905CBA7F84AF4. I
> > want this to a normal view in hh:mm:ss DD:MM:. I tried with
> > datetime, but it only takes a max of 100 mic
On Aug 20, 9:52 pm, [EMAIL PROTECTED] wrote:
> Hi I have a time in microseconds, for example 0x8C905CBA7F84AF4. I
> want this to a normal view in hh:mm:ss DD:MM:. I tried with
> datetime, but it only takes a max of 100 microseconds is there
> another solution?
Your question can be interpre
On Aug 20, 6:52 am, [EMAIL PROTECTED] wrote:
> Hi I have a time in microseconds, for example 0x8C905CBA7F84AF4. I
> want this to a normal view in hh:mm:ss DD:MM:. I tried with
> datetime, but it only takes a max of 100 microseconds is there
> another solution?
Just truncate the value so th