Question about using python as a scripting language

Steve Lianoglou slianoglou at gmail.com
Mon Aug 7 00:45:50 EDT 2006


Delaney, Timothy (Tim) wrote:
> This is just asking for trouble.
>
> my_list = eval('import shutil; shutil.rmtree('/')')

Hah .. wow.

And in related news: you still shouldn't be taking candy from
strangers.

Point well taken. Thanks for flagging that one.

-steve




More information about the Python-list mailing list