+ 2

Get header without httplib or urllib with python!

Is there any way to get the header or status of a webpage without calling one of these libraries? I can't seem to be able to import them here.

25th Jan 2018, 5:52 AM
saman hamidi
saman hamidi - avatar
2 Answers
+ 1
which python version are you using?
7th Feb 2018, 2:13 PM
shdoji
+ 1
3.6 I believe. Although I already wrote the code now. I could't call urllib because for this library you need to import the exact module you need. https://code.sololearn.com/cS6eLG6fV71R/?ref=app
7th Feb 2018, 9:10 PM
saman hamidi
saman hamidi - avatar