0

Why can't I run my scripts on Python?

I've got Python3 and PyCharm installed on my PC but when I type the location of any of my scripts for the Python console to run it, it prints an error (SyntaxError: unexpected character after line continuation character). Same thing happens when I try to run them on the Windows console. Does anyone know why this happens and would be able to tell me how to solve it? Thanks in advance.

25th Oct 2019, 10:14 AM
Nsk
Nsk - avatar
3 ответов
+ 2
WINDOWS : The problem may be that you have to right the PATH of python3.exe in environnement PATH LINUX : #!/bin/python3 at the beginning of your script
25th Oct 2019, 10:39 AM
Joris
Joris - avatar
25th Oct 2019, 10:40 AM
Victor
+ 1
Can you please post the error message you get when trying to run your python scripts?
25th Oct 2019, 10:38 AM
Victor