So whenever I write a program in Notepad++, save it as a .py file, and try to run it with command prompt, it always give me a syntax error. This error is usually on the last character of the last method. For example, something as simple as:

print "Hello world!"

would give me this:

file "pyhelloworld.py", line 1 print "Hello world!"(with the little arrow pointing up at the last quotation mark, after the exclamation point)SyntaxError: invalid syntax