RE: RE: DreamWeaver files -> ZPTs: How?

Tino Wildenhain <[email protected]>
Newsgroups gmane.comp.web.zope.page-templates
Message-ID <[email protected]>
Am Montag, den 23.05.2005, 21:30 -0400 schrieb Ken Winter:
...
> Yessss!  For the record, the final version is:
> 
> d = [{'person_id':p.person_id,\
>       'first_name':p.first_name,\
>       'middle_names':p.middle_names,\
>       'last_name':p.last_name}\
>      for p in context.read_all_people()]
> return getattr(context, 'studentlist.htm')(data=d)

For the records: 

you can skip the \ in each line. Python does not need it :-)
Even more you can use the free space for # comments

Regards
Tino
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.