Home>

I am a python beginner.

The OO.py file cannot be executed.
Other than that, simple calculations are working in general, but this is not possible.

a.py
print ('Hello')
raw_input ()

Error message
>>>C: \ Users \ akito>python C: \ Users \ akito \ a.py
  File "<stdin>", line 1
    C: \ Users \ akito>python C: \ Users \ akito \ a.py
                                            ^
SyntaxError: unexpected character after line continuation character
>>>
Supplemental information (FW/tool version etc.)

windows10
python3.6.5

  • Answer # 1

    Maybe with the python interpreter running

    C: \ Users \ akito>python C: \ Users \ akito \ a.py


    Are you typing?

    Exit the interpreter (eg with Ctrl-d orexit ()) and run it from the command prompt.

    Any command you type in

    python C: \ Users \ akito \ a.py

  • Answer # 2

    However,

      

    raw_input ()

    Is there a double-byte space after

    ?