Yeah, I've seen those. The order is only a problem because Python
gives us the dict... Using the somewhat hacky counter technique plus
an ordered dict may do the trick.

Kevin

On 11/17/05, Sean Cazzell <[EMAIL PROTECTED]> wrote:
>
> Kevin,
>
> The Python Cookbook has a couple of ordered dict implementations.
> Here's one:
>
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/438823
>
>
> Sean Cazzell
>
> On Thu, 2005-11-17 at 11:06 -0500, Kevin Dangoor wrote:
> > On 11/16/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > So for my CRUD requirement, I just use py:for in Kid and still control
> > > the order of how those fields appears. And if I later decide to
> > > customize the layout in Kid, the same dict can still be used for direct
> > > name access.
> >
> > Being able to access in order or as a dictionary is a nice thing. I'll
> > have to keep that in mind.
> >
> > Kevin
> >
> > --
> > Kevin Dangoor
> > Author of the Zesty News RSS newsreader
> >
> > email: [EMAIL PROTECTED]
> > company: http://www.BlazingThings.com
> > blog: http://www.BlueSkyOnMars.com
>
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to