Yep, just realised that - if it's stored as a list of key, value pairs.

On 21 February 2014 09:45, William ML Leslie
<[email protected]>wrote:

>
> On 21/02/2014 9:40 am, "Anthony Briggs" <[email protected]> wrote:
> >
> > You can also use the dict() function or dictionary comprehensions to
> create your dictionary:
> >   item = dict( (key, value) for key, value in list )
> >
>
> Otherwise written:
>   item = dict(list)
>
> _______________________________________________
> melbourne-pug mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/melbourne-pug
>
>
_______________________________________________
melbourne-pug mailing list
[email protected]
https://mail.python.org/mailman/listinfo/melbourne-pug

Reply via email to