import urllib
import urllib3
import os
from bs4 import BeautifulSoup
html = urllib.request.urlopen('https://coding.imooc.com/?mc_marking=5931f8e07e353edf2b94a098f44a062c&mc_channel=bdqdkj"').read()
BeautifulSoup(html,'html.parser',from_encoding='utf-8')
images = soup.findAll('img')
print(images)
NameError Traceback (most recent call last)<ipython-input-7-66dd4a9403a2> in <module>() 7 html = urllib.request.urlopen('https://coding.imooc.com/?mc_marking=5931f8e07e353edf2b94a098f44a062c&mc_channel=bdqdkj"').read() 8 BeautifulSoup(html,'html.parser',from_encoding='utf-8')----> 9 images = soup.findAll('img') 10 print(images)NameError: name 'soup' is not defined
报这样的错误为什么呀?