Quote:I'm trying to learn Python, I installed Python 2.7.3 and for some reason, when I watch "TheNewBoston" video, I typed the same code as him, save as .py, i couldn't double click on the .py file to execute it. I right click and check the filetype is just "file".thanks.
For example
x = raw_input("Enter name here: ")
print "Hey " + x
<ok solved it by adding "raw_input("Press<enter>")">
If I use notepad++ to save .py , I can double click, but when I type in the name and press enter, it closes...
hope you understand my problem
but is there a differences between python 3 and 2? I tried 3 and some codes for 2 is not working.