On Feb 6, 1:03 pm, [email protected] wrote:
> Robocop:
>
> >then within each department block of the list, have it organized by
> >projects.<
>
> I don't know what does it means.
>
> > timesheets.sort(key=operator.attrgetter('string'))
>
> Try something like:
> timesheets.sort(key=attrgetter("department", "engagement", "date",
> "stare_hour"))
>
> > My brain might explode if i continue.
>
> Relax.
>
> Bye,
> bearophile
UH OH GUYS!
line 110, in sorter
timesheets.sort(key=attrgetter("department", "engagement",
"date","start"))
TypeError: attrgetter expected 1 arguments, got 4
--
http://mail.python.org/mailman/listinfo/python-list