Python Forum
[split] NameError: name 'formats' is not defined - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: [split] NameError: name 'formats' is not defined (/thread-27062.html)



[split] NameError: name 'formats' is not defined - shobhu123 - May-19-2020

soup = BeautifulSoup(response.content,formats[crawl_len])
Error:
NameError: name 'formats' is not defined
why should i get this error


RE: NameError: name 'download' is not defined - Skaperen - May-24-2020

did you define "formats" somewhere?