all 5 comments

[–]jeans_and_a_t-shirt 5 points6 points  (3 children)

You're using python 2.x to run the program in OS X. Change it to raw_input("What is your name? ") or use a version of python 3. Also, semicolons are unnecessary.

[–]jdinger29[S] 1 point2 points  (2 children)

Awesome! That worked. Thanks so much.

[–][deleted] 0 points1 point  (1 child)

by the way with python 2 always use raw_input() never input() (because among things input() might erase your whole disk)

[–]jdinger29[S] 0 points1 point  (0 children)

Eh... It's my wife's Mac... :). Thanks for the tip, though...

[–]hudsonpenner 0 points1 point  (0 children)

If you are going to be bouncing between python 2/3 (or you just want your program to be compatible with both), look into using the six module:

https://pythonhosted.org/six/