script for seconds in given month?

Paul McGuire ptmcg at austin.rr.com
Mon Apr 16 13:28:25 EDT 2007


On Apr 16, 11:22 am, "edfialk" <edfi... at gmail.com> wrote:
> Hi, does anyone happen to know of a script that would return the
> number of seconds in a month if I give it a month and a year?
>
> My python is a little weak, but if anyone could offer some suggestions
> I think I could handle it myself, or if anyone happens to know of a
> script already written that performs this I would be extremely
> grateful.
>
> Thanks!
> -Ed

Do you need to handle leap seconds too? (not a joke)

-- Paul




More information about the Python-list mailing list