I am trying to read https url, getting ssl import error
Asked by
Anand
Hi i am trying to import to read a https page so am using to import ssl , it gives me a import error is there any other way to do it ?
import urllib2,ssl
context = ssl._create_
response = urllib2.urlopen('https:/
html = response.read()
print(html)
That's the code am using getting error in the first line Import error no module named ssl , where as i tried to run the same code in a diff compiler it worked perfectly
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Anand for more information if necessary.
To post a message you must log in.