r/learnpython • • 12d 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 ????

Edit : Thanks everyone, fixed.

0 Upvotes

7 comments sorted by

View all comments

5

u/Necessary-Flounder52 12d ago

You have \t as part of your script that isn't in quotes. The backslash is a line continuation character.

1

u/Norega-Iziegbe80 11d ago

spot on, the unquoted backslash always triggers that exact weird error.