Re: SSL Certificate Verify Failed (_ssl.c:600) using Windows Server 2019

2020-04-30 Thread Dieter Maurer
separated wrote at 2020-5-1 02:51 +: > ... >but I still dont know why when I running a command 'youtube-dl -U' then got a >message 'ERROR: can't find the current version. Please try again later' maybe >it needs a sudo password. This looks like a log message (the "ERROR" likely comes from thi

Re: SSL Certificate Verify Failed (_ssl.c:600) using Windows Server 2019

2020-04-30 Thread separated via Python-list
thank you for your suggestion, maurer. surprisingly it works. I tried to download chrome instead my previous browser is firefox, just download it and try to do a simple youtube-dl command and it works. but I still dont know why when I running a command 'youtube-dl -U' then got a message 'ERROR:

Re: What user-defined request error levels are recommended?

2020-04-30 Thread Dan Sommers
On Thu, 30 Apr 2020 13:14:42 -0700 (PDT) Dan Campbell wrote: > Hi, what range of error codes are recommended, if we wanted to return > a user-defined code? > Obviously, we don't want to use a code in the 200+ range, or the 400+ > range, e.g. > I want to throw, or just return, a code that repres

Re: What user-defined request error levels are recommended?

2020-04-30 Thread Hexamorph
Am 30.04.2020 um 22:56 schrieb Dan Campbell: > On Thursday, April 30, 2020 at 4:42:41 PM UTC-4, Ed Leafe wrote: >> On Apr 30, 2020, at 15:14, dc wrote: >>> >>> Hi, what range of error codes are recommended, if we wanted to return a >>> user-defined code? >>> >>> Obviously, we don't want to use a c

Re: What user-defined request error levels are recommended?

2020-04-30 Thread Dan Campbell
On Thursday, April 30, 2020 at 4:42:41 PM UTC-4, Ed Leafe wrote: > On Apr 30, 2020, at 15:14, dc wrote: > > > > Hi, what range of error codes are recommended, if we wanted to return a > > user-defined code? > > > > Obviously, we don't want to use a code in the 200+ range, or the 400+ > > range,

Re: What user-defined request error levels are recommended?

2020-04-30 Thread Ed Leafe via Python-list
On Apr 30, 2020, at 15:14, Dan Campbell wrote: > > Hi, what range of error codes are recommended, if we wanted to return a > user-defined code? > > Obviously, we don't want to use a code in the 200+ range, or the 400+ range, > e.g. > > I want to throw, or just return, a code that represents t

What user-defined request error levels are recommended?

2020-04-30 Thread Dan Campbell
Hi, what range of error codes are recommended, if we wanted to return a user-defined code? Obviously, we don't want to use a code in the 200+ range, or the 400+ range, e.g. I want to throw, or just return, a code that represents that the size of a web page (len(response.content)) is less than

Re: python Netcdf and ncdump

2020-04-30 Thread Rhodri James
On 30/04/2020 18:55, J Conrado wrote: Please, Please can someone explain to me why I have this difference: in Python int16 SST(y, x) and with ncdump -h short SST(y, x) Presumably on your computer a (signed) short integer is a (signed) sixteen bit integer. That's rather unhelpful of ncdump.

Re: How to test?

2020-04-30 Thread Manfred Lotz
On Mon, 27 Apr 2020 18:21:39 +1200 DL Neil wrote: ... > > Given your replies, 'now' might be a good time to take a look at > Pytest, and see how you could use it to help build better code - by > building tested units/functions which are assembled into ever-larger > tested-units... (there is a r

python Netcdf and ncdump

2020-04-30 Thread J Conrado
Hi, I read my netcdf data and I did: print(f) print("f.variables[SST] ",f.variables["SST"]) and I had: f.variables[SST]  int16 SST(y, x)     _FillValue: -1     long_name: ABI L2+ Sea Surface (Skin) Temperature     standard_name: sea_surface_skin_temperature     _Unsigned: true     valid

Re: SSL Certificate Verify Failed (_ssl.c:600) using Windows Server 2019

2020-04-30 Thread Dieter Maurer
separated wrote at 2020-4-29 21:11 +: >I just bought a rdp from someone and try to install python in order to running >youtube-dl but when I just run a simple youtube-dl command like 'youtube-dl >[youtube video url]' it got me this message : > >ERROR: Unable to download webpage: CERTIFICATE_V

Re: SSL Certificate Verify Failed (_ssl.c:600) using Windows Server 2019

2020-04-30 Thread separated via Python-list
I have tried '-pip install certifi' but it didnt work I can provide the rdp login to you who want to help, just wont waste my cash for 1 month rdp. Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Thursday, April 30, 2020 4:11 AM, separated via Python-list wrote: > hell