The Python Oracle

TypeError: can't use a string pattern on a bytes-like object in re.findall()

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: A Thousand Exotic Places Looping v001

--

Chapters
00:00 Question
00:46 Accepted answer (Score 247)
01:09 Answer 2 (Score 53)
02:05 Answer 3 (Score 0)
02:22 Thank you

--

Full question
https://stackoverflow.com/questions/3101...

Accepted answer links:
[Convert bytes to a Python String]: https://stackoverflow.com/questions/6061...

Answer 2 links:
[bytes]: https://docs.python.org/3/library/functi...
[decode]: https://docs.python.org/3/library/stdtyp...
[urlopen]: https://docs.python.org/3/library/urllib...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #python3x #webcrawler

#avk47