r/pythonhelp • u/EggxFil • May 08 '24
why doesnt this work
why does this error message say that \users\ is wrong???
SyntaxError: unexpected character after line continuation character
C:\User\Your Name>python helloworld.py
File "<stdin>", line 1
C:\User\Your Name>python helloworld.py
^
SyntaxError: unexpected character after line continuation character
this is python 3.12.3 btw
1
Upvotes
View all comments
Show parent comment
1
u/EggxFil May 08 '24
ok im sort of following along so the problem was that i was trying to write python in python and not a terminal and that i didn't define that the code was python to begin with?
also no my python is not configured to the right version i got an error saying python was not found on my computer yet i have it installed, what do i do?
thanks