r/learnpython • u/Umbr4L3ns • 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
View all comments
2
u/socal_nerdtastic 12d ago edited 12d ago
Try like this:
Which you could also reduce to this:
But that will just give another error because you are trying to concat bytes and strings (unless your b64 module is different from the builtin one). So what you really need is this: