How to decode this string in python?
title = 'Fast & Furious 6'
to get:
Fast & Furious 6
Thank you!
How to decode this string in python?
title = 'Fast & Furious 6'
to get:
Fast & Furious 6
Thank you!
with this code you got char symbol from ascii rappresentation.
title = 'Fast & Furious 6'
title = title[:-1]
substring=[x.strip() for x in title.split(';')]
titleFinal = ''
for ch in substring:
newstr = ch.replace("&#", "")
titleFinal+=chr(int(newstr))
print(titleFinal)