Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
b"Ā"👉 python test.py File "/test.py", line 1 b"Ā" ^SyntaxError: bytes can only contain ASCII literal charactersHere the caret is pointing to blackspace after the code
So each non-ASCII character is adding more incorrect offset:
👉 $c:temp = "b'ĀĀĀĀĀĀĀĀ'"👉 py temp File "C:\temp", line 1 b'ĀĀĀĀĀĀĀĀ' ^Expected
👉 python test.py File "/test.py", line 1 b"Ā" ^SyntaxError: bytes can only contain ASCII literal characters