so if I was to do something like
import calendar, itertools
month = calendar.monthcalendar(2006, 10)
days = [i for i in itertools.chain(*month)]
if days ==0:
print '<td class='in'></td>
else:
print '<td class='out'> days </td>
what would be the 'correct' and 'most efficient' way to do that using kid? And is there any benefit using a widget?
--
-mike
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---
- [TurboGears] Re: kid drives me crazy Michael Steinfeld
- [TurboGears] Re: kid drives me crazy Karl Guertin
- [TurboGears] Re: kid drives me crazy Christoph Zwerschke
- [TurboGears] Re: kid drives me crazy Bob Ippolito
- [TurboGears] Re: kid drives me crazy Nevyn
- [TurboGears] Re: kid drives me crazy isaac
- [TurboGears] Re: kid drives me crazy Stuart Clarke
- [TurboGears] Re: kid drives me crazy Sylvain Hellegouarch
- [TurboGears] Re: kid drives me crazy Stuart Clarke
- [TurboGears] Re: kid drives me ... Sylvain Hellegouarch
- [TurboGears] Re: kid drives me ... Kevin Dangoor

