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.
3 Réponses
+ 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
+ 2
One possible solution is to add python to system path variable:
https://www.pythoncentral.io/add-python-to-path-python-is-not-recognized-as-an-internal-or-external-command/
+ 1
Can you please post the error message you get when trying to run your python scripts?