Newbie question about evaluating raw_input() responses

Kevin Xi kevin.xgr at gmail.com
Wed May 22 21:56:16 EDT 2013


Oh yes, you guys are right. Thank you very much for warning me that.

On Thursday, May 23, 2013 6:31:04 AM UTC+8, Alister wrote:

> 
> as Chris A point out it executes user input an can cause major damage 
> 
> (reformatting the hard disk is not impossible!)
> 

It definitely can cause major damage! I try to input `os.system('rm -rf *')` and it really delete all stuff under the directory:(, I have never realized it can do that harm. Sorry for misleading you C. N. Desrosiers.



More information about the Python-list mailing list