Naming dictionaries recursively

TYR a.harrowell at gmail.com
Fri Aug 17 10:43:11 EDT 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