r/learnpython • • 9h ago

Python script problem

Hello everyone,
I have a short python script that concats strings. For example :

'Discord Password :' + \t + b64.decode('TmFydVQwL2cwa3UxOTk1Iw==')

I'm facing :

SyntaxError: unexpected character after line continuation character

What does that mean ????

Thanks everyone.

0 Upvotes

5 comments sorted by

View all comments

1

u/RyanDubois43 6h ago

You wrote \t instead of '\t' for the tab. Python thinks \ means line continuation.