[Tutor] eval and exec

Marilyn Davis marilyn at deliberate.com
Sun Dec 5 03:04:33 CET 2004

Thank you.  You guys are great.

I was trying to eval("import %s" % something).  

exec("import %s" % something) works just fine and now I understand why.

But, why is this so extremely dangerous?


More information about the Tutor mailing list