How is correct use of eval()

Cata catalinfest at
Mon Oct 11 20:11:28 CEST 2010

Hi .
I read about eval().
I also read about this "bug" :
cod = raw_input ('Enter:")
eval (cod)
if i use  "rm -rf ~"  all files will be deleted .

What is correct way to use this function?

More information about the Python-list mailing list