Hello. I get the following error with the following code.  Is there
something wrong with my Python installation?

code:
import types
something = input("Enter something and I will tell you the type: ")

if type(something) is types.IntType:
    print "you entered an integer"
elif type(something) is types.StringType:
    print "you entered a string"

error:
String: Source for exec/eval is unavailable

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to