foo = input("Try to type eval(2+2), if the result is '4' this is unsafe: ")
print("You typed the following: \"",foo,"\".")
input("Press [Enter] to exit")
# Result: seems to be safe with Python 3.1
# Found original tip here: http://www.daniweb.com/forums/thread12326.html
# It's from back in 2004, might have been unsafe then
Check to see if input is executed