The solutions in other answers do not work when I try them, the same string outputs when I try those methods.
I am trying to do web scraping using Python 2.7. I have the webpage downloaded and it has some characters which are in the form x
where 120 seems to represent the ascii code. I tried using HTMLParser()
and decode()
methods but nothing seems to work.
Please note that what I have from the webpage in the format are only those characters.
Example:
Blasterjaxx 
Please guide me to decode these strings using Python. I have read the other answers but the solutions don't seem to work for me.