need some advice on x y plot

William Park opengeometry at
Fri Oct 21 20:08:44 CEST 2005

nephish at wrote:
> the time is DateTime.DateTime object from a mySQLdb query.
> the value is a number anywhere between 0 and 15.
> the datetime is formatted like 2005-10-20 08:40:34
> i could strip it and make a timestamp out of it. but reading the
> number of seconds since january of 1970 doesn't make a neat chart.
> any suggestions?

Python is capable of integer arithmetic, eg.
    >>> 2000 - 500

William Park <opengeometry at>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
BashDiff: Super Bash shell

More information about the Python-list mailing list