Re: [Tutor] SSL Error

2018-07-31 Thread Peter Otten
Saket Mehrotra wrote: > Hi > > I am trying to run import requests in a py file but I am getting below > error ssl.PROTOCOL_SSLv23: OpenSSL.SSL.SSLv23_METHOD, > AttributeError: module 'ssl' has no attribute 'PROTOCOL_SSLv23' If you start the Python interpreter and execute >>> import ssl >>>

Re: [Tutor] SSL Error

2018-07-31 Thread Marc Tompkins
On Tue, Jul 31, 2018 at 10:03 AM, Alan Gauld via Tutor wrote: > On 31/07/18 03:52, Saket Mehrotra wrote: > > > error ssl.PROTOCOL_SSLv23: OpenSSL.SSL.SSLv23_METHOD, > > AttributeError: module 'ssl' has no attribute 'PROTOCOL_SSLv23' > > Are you sure you spelled the attribute correctly? > > Have

Re: [Tutor] SSL Error

2018-07-31 Thread Zachary Ware
On Tue, Jul 31, 2018 at 12:06 PM Alan Gauld via Tutor wrote: > > On 31/07/18 03:52, Saket Mehrotra wrote: > > > error ssl.PROTOCOL_SSLv23: OpenSSL.SSL.SSLv23_METHOD, > > AttributeError: module 'ssl' has no attribute 'PROTOCOL_SSLv23' > > Are you sure you spelled the attribute correctly? > > Have

Re: [Tutor] SSL Error

2018-07-31 Thread Alan Gauld via Tutor
On 31/07/18 03:52, Saket Mehrotra wrote: > error ssl.PROTOCOL_SSLv23: OpenSSL.SSL.SSLv23_METHOD, > AttributeError: module 'ssl' has no attribute 'PROTOCOL_SSLv23' Are you sure you spelled the attribute correctly? Have you tried >>> import ssl >>> dir(ssl) Top see what the attribute names

Re: [Tutor] SSL Error

2018-07-31 Thread Marc Tompkins
This is a general Python tutor group; I'm not sure anybody here can help you with the OpenSSL package (I've definitely never used it myself.) We're all willing to help, but this might not be the right place to ask this question. More to the point, though, when you ask questions on this list it's

[Tutor] SSL Error

2018-07-31 Thread Saket Mehrotra
Hi I am trying to run import requests in a py file but I am getting below error ssl.PROTOCOL_SSLv23: OpenSSL.SSL.SSLv23_METHOD, AttributeError: module 'ssl' has no attribute 'PROTOCOL_SSLv23' >>> I tried to execute below from the terminal but it still remains unresolved. sudo easy_install

Re: [Tutor] How to add an Image in Grid mode with Python and Tkinter?

2018-07-31 Thread Matthew Polack
Thanks Alan and Peter for the comprehensive replies...that gives me some good 'homework' to do and clarity on how to go about it. Much appreciatedwill spend some time now getting my head around it. Thanks so much. - Matthew Polack Matthew Polack | Teacher [image: Emailbanner3.png]