Thank you, thank you, thank you.
That fixed it (at least on my computer, I'll see if I can do that at my school).
Irv
> On Mar 15, 2018, at 7:39 PM, Ned Deily wrote:
>
> On 2018-03-14 18:04, Irv Kalb wrote:
>> File
>> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/re
On 2018-03-14 18:04, Irv Kalb wrote:
> File
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py",
> line 1320, in do_open
> raise URLError(err)
> urllib.error.URLError: certificate verify failed (_ssl.c:749)>
If you are using Python 3.6 for macOS from a py
On Mar 14, 2018, at 9:54 PM, Gregory Ewing wrote:
>
> Chris Angelico wrote:
>> That means going back to the original problem: "how do we get a usable
>> stock price API?".
>
> Does it have to be stock prices in particular?
> Or just some simple piece of data that demonstrates
> the principles of
On Thu, Mar 15, 2018 at 3:54 PM, Gregory Ewing
wrote:
> Chris Angelico wrote:
>>
>> That means going back to the original problem: "how do we get a usable
>> stock price API?".
>
>
> Does it have to be stock prices in particular?
> Or just some simple piece of data that demonstrates
> the principl
Chris Angelico wrote:
That means going back to the original problem: "how do we get a usable
stock price API?".
Does it have to be stock prices in particular?
Or just some simple piece of data that demonstrates
the principles of fetching a url and parsing the
result?
--
Greg
--
https://mail.py
On Thu, Mar 15, 2018 at 10:27 AM, Gregory Ewing
wrote:
> Chris Angelico wrote:
>>
>> (Basically,
>> what you're doing is downgrading the protection of HTTPS to something
>> nearer plain HTTP. That's fine for what you're doing, but any code you
>> give to students is likely to be copied and pasted
Chris Angelico wrote:
(Basically,
what you're doing is downgrading the protection of HTTPS to something
nearer plain HTTP. That's fine for what you're doing, but any code you
give to students is likely to be copied and pasted into their
production code.)
See if you can tie in with your OS's cert
On Thu, Mar 15, 2018 at 9:04 AM, Irv Kalb wrote:
> ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
> (_ssl.c:749)
>
> Am I doing something wrong? Is there another way (besides using the requests
> module which DOES work for me) to get data from an https URL?
So my
Thanks to Chris A and Roger C for their information. Very helpful and I am
working on both of their suggestions. But now I've run into a new related
problem.
I still am trying to get stock information using Standard Library calls for now
(although I understand that the requests module makes t