+1

urllib can't run

import request from urllib if __name__ == "__main__": response =request.urlopen("http://www.baidu.com") html = response.read() print(html)

4/17/2018 10:33:36 AM

Jimu

2 Answers

New Answer

+13

what should be the output ??? is this what u wanted Run again if it shows time limit exceed i have made some changes 👇 https://code.sololearn.com/cdPLa1RYbC9E/?ref=app

0

Greetings! Your import statement is wrong, the syntax the following: from module import something