Res=requests. Get (' https://localprod.pandateacher.com/python-manuscript/crawler-html/spider-men5.0.html ')
# get web site source code, get the res is the Response of object
HTML=res. Text
# put the contents of res in the form of a string returns
Print (' response status code: 'res. Status_code) # check request correct response
# # print (HTML) printed page source code
Print (HTML)
Vscode in operation, a string of code above, coding errors, but python's own idle and pycharm running normal?
CodePudding user response:
The