python语法错误:行连续字符后出现意外字符

2024-04-16 20:30:30 发布

您现在位置:Python中文网/ 问答频道 /正文

I made this very simple one line code that is only supposed to start Hearthstone, I get the error "SyntaxError: unexpected character after line continuation character", and don't know why. Here's the code:

exec("C:\Program Files (x86)\Hearthstone\Hearthstone.exe")

Thanks in advance.


Tags: thetoonlythatislinecodethis