Convert string to command..

Adam Atlas adam at atlas.st
Thu Oct 18 10:47:40 EDT 2007


On Oct 18, 10:23 am, Abandoned <best... at gmail.com> wrote:
> I want to convert a string to command..
> For example i have a string:
> a="['1']"
> I want to do this list..
> How can i do ?

Use the builtin function "eval".




More information about the Python-list mailing list