Naming dictionaries recursively

TYR a.harrowell at
Fri Aug 17 16:43:11 CEST 2007

> So the tougher problem seems to be parsing those lines.  That is not a
> valid Python dictionary unless the names `Bob`, `Humboldt`, `red`, and
> `predatory` are not already defined.  So you can't just ``eval`` it.

In what way? {'key': val}, right?

Anyway, I can always change the format they go into the file in.

More information about the Python-list mailing list