I am using Python 3.x. While using urllib.request to download the webpage, i am getting a lot of \\n in between. I am trying to remove it using the
urllib.request
\\n
Seems like they are literal \n characters , so i suggest you to do like this.
\n
raw_html2 = raw_html.replace('\\n', '')