Solving syntax error: unexpected character after line continuation character

SyntaxError: Unexpected Character After Line Continuation Character error occurred in file executing on Windows command line.
The python installation path is

. The reason for this error is that python does not exit the interpreter, but instead executes in the interpreter environment. Py file.
Note: file can only be executed in command line mode. If you do not exit, you are in interactive mode, where you enter a line of code and execute it. It is good to test a statement.
Type exit() to exit, and drag file into the command line window to see the results (successful).

Read More: