Python and SSL enabled

matey monica.medina at ngc.com
Tue Oct 24 19:38:13 CEST 2006


I am have version 2.3.4.  I want to write a python script to access a
secure HTTPS.

I tried the following:

import urllib
urllib.urlopen("https://somesecuresite.com")
s = f.read()
f.close()

I get the following:

IOError [Errno url error] unknown url type: 'https'

1. How do I know if SSL is enabled?
2. What can I do to get this to work?

Thanks,

Matey




More information about the Python-list mailing list