I am learning data scraping in python 3.5 and trying to find the existence of a word on website, i am getting error:
TypeError: a bytes-like object is required, not 'str'
pyladies_source = uReq("http://pyladies.com")
pyladies_source = pyladies_source.read()
'python' in pyladies_source
pyladies_sourceis in bytes - user3483203str()? - Simonfrom urllib.request import urlopen as uReq- user3483203