This is my code:
#!C:/Python27/python # -*- coding: utf-8 -*- import requests from bs4 import BeautifulSoup import urllib2 import sys import urlparse import
To remove non ASCII characters from text.
ASCII
import string text = [word for word in text if word not in string.ascii_letters]