In article <[EMAIL PROTECTED]>,
manstey <[EMAIL PROTECTED]> wrote:
>
>Thanks.  I didn't know eval could do that. But why do many posts say
>they want a solution that doesn't use eval?

Because it is a security risk!

eval("os.system('rm -rf /')")
-- 
Aahz ([EMAIL PROTECTED])           <*>         http://www.pythoncraft.com/

"I saw `cout' being shifted "Hello world" times to the left and stopped
right there."  --Steve Gonedes
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to