best way to handle this in Python

Rita rmorgan466 at
Fri Jul 20 01:51:30 CEST 2012


I have data in many files (/data/year/month/day/) which are named like

I would like to build a data structure which can easily handle querying the
data. So for example, if I want to query data from 3 weeks ago till today,
i can do it rather quickly.

each YearMonthDayHourMinute.gz file look like this and they are about 4to
red 34
green 44
blue 88
orange 4
black 3
while 153

I would like to query them so I can generate a plot rather quickly but not
sure what is the best way to do this.

--- Get your facts first, then you can distort them as you please.--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list