Re: Noob Parsing question

2015-02-18 Thread kai . peters
> >> > Given > >> > > >> > data = > >> > '{[][]}' > >> > > >> > How can I efficiently get dictionaries for each of the data blocks > >> > framed by <> ? > >> > > >> > Thanks for any help > >> > >> The question here is: What _can't_ happen? For instance, what happens > >> if Fred's name contains

Re: Noob Parsing question

2015-02-17 Thread Chris Angelico
On Wed, Feb 18, 2015 at 3:35 PM, wrote: >> > Given >> > >> > data = >> > '{[][]}' >> > >> > How can I efficiently get dictionaries for each of the data blocks framed >> > by <> ? >> > >> > Thanks for any help >> >> The question here is: What _can't_ happen? For instance, what happens >> if Fred

Re: Noob Parsing question

2015-02-17 Thread kai . peters
> > Given > > > > data = > > '{[][]}' > > > > How can I efficiently get dictionaries for each of the data blocks framed > > by <> ? > > > > Thanks for any help > > The question here is: What _can't_ happen? For instance, what happens > if Fred's name contains a greater-than symbol, or a caret?

Re: Noob Parsing question

2015-02-17 Thread Chris Angelico
On Wed, Feb 18, 2015 at 3:07 PM, wrote: > Given > > data = '{[][]}' > > How can I efficiently get dictionaries for each of the data blocks framed by > <> ? > > Thanks for any help The question here is: What _can't_ happen? For instance, what happens if Fred's name contains a greater-than symbol

Noob Parsing question

2015-02-17 Thread kai . peters
Given data = '{[][]}' How can I efficiently get dictionaries for each of the data blocks framed by <> ? Thanks for any help KP -- https://mail.python.org/mailman/listinfo/python-list