-3

I have this code:

 name = urllib.unquote(d[1]).decode('utf8')

I use this name taken from form with Post method, to send an Email; As a result if name contains spaces they transdorm to pluses: For example:

Hello John+Smith

How to change pluses to space characters.

user2950593
  • 9,233
  • 15
  • 67
  • 131

1 Answers1

-2

something like this will work: name = urllib.unquote_plus(d[1]).decode('utf8') as Zero Piraeus stated in comments