On May 9, 9:33 pm, python wrote:
> On May 8, 12:43 pm, Benjamin Kaplan wrote:
>
>
>
>
>
>
>
>
>
> > On Sun, May 8, 2011 at 8:20 AM, Greg Lindstrom
> > wrote:
> > > Is it possible to create a dictionary from a string value? Something
> > > along
> > > these lines (but that works):
>
> > m
On May 8, 12:43 pm, Benjamin Kaplan wrote:
> On Sun, May 8, 2011 at 8:20 AM, Greg Lindstrom wrote:
> > Is it possible to create a dictionary from a string value? Something along
> > these lines (but that works):
>
> mystring = "{'name':'greg','hatsize':'7 5/8'}"
> mystring
> > "{'name'
On May 8, 2011 2:00pm, Dan Stromberg wrote:
On Sun, May 8, 2011 at 8:20 AM, Greg Lindstrom gslindst...@gmail.com>
wrote:
Is it possible to create a dictionary from a string value? Something
along these lines (but that works):
>>> mystring = "{'name':'greg','hatsize':'7 5/8'}"
>>> mystri
On Sun, May 8, 2011 at 8:20 AM, Greg Lindstrom wrote:
> Is it possible to create a dictionary from a string value? Something along
> these lines (but that works):
>
> >>> mystring = "{'name':'greg','hatsize':'7 5/8'}"
> >>> mystring
> "{'name':'greg','hatsize':'7 5/8'}"
> >>> dict(mystring)
> Tra
On Sun, May 8, 2011 at 8:20 AM, Greg Lindstrom wrote:
> Is it possible to create a dictionary from a string value? Something along
> these lines (but that works):
>
mystring = "{'name':'greg','hatsize':'7 5/8'}"
mystring
> "{'name':'greg','hatsize':'7 5/8'}"
dict(mystring)
> Traceb
On Mon, May 9, 2011 at 1:20 AM, Greg Lindstrom wrote:
> Is it possible to create a dictionary from a string value? Something along
> these lines (but that works):
>
mystring = "{'name':'greg','hatsize':'7 5/8'}"
mystring
> "{'name':'greg','hatsize':'7 5/8'}"
dict(mystring)
> Traceb