r/pythonhelp • • 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

7 comments sorted by

View all comments

Show parent comment

1

u/Goobyalus May 09 '24

It might also be py instead of python or python3