> To: tutor@python.org
> From: alan.ga...@btinternet.com
> Date: Wed, 26 Aug 2015 17:29:08 +0100
> Subject: Re: [Tutor] value range checker
>
> On 26/08/15 14:19, Albert-Jan Roskam wrote:
>
>> I have a written a function checks the validity of values.
>> T
> Subject: Re: value range checker
> To: sjeik_ap...@hotmail.com
> CC: tutor@python.org
> From: matt.ruff...@gmail.com
> Date: Thu, 27 Aug 2015 12:41:45 -0400
>
> On 2015-08-26 09:19, Albert-Jan Roskam wrote:
>> For example, the category-min-max tuples
>>
On 26/08/15 17:29, Alan Gauld wrote:
def make_validator(min, max, *values):
def validate(value):
return (min <= value <= max) or value in *values)
return validator
Oops!
Should of course be
return validate
Sorry,
--
Alan G
Author of the Learn to Program web site
ht
(sorry, Peter, Alan, I sent two mails to you privately. I just switched from
Yahoo to Hotmail for DMARC reasons. Still getting used to Hotmail.)
> Subject: RE: [Tutor] value range checker
> Date: Fri, 28 Aug 2015 10:14:49 +
>
>
>> To: tutor@python.or
Evening group!
Hope wee'all doing well, having fun. yada yada..!!
I'm considering taking a dive into the "cloud" with an app that would
be comprised of distributed machines, running py apps, talking to db
on different server(s), etc..
So, I was wondering if anyone has good docs/tutorials/walk th
In a message of Fri, 28 Aug 2015 20:24:29 -0400, bruce writes:
>Evening group!
>
>Hope wee'all doing well, having fun. yada yada..!!
>
>I'm considering taking a dive into the "cloud" with an app that would
>be comprised of distributed machines, running py apps, talking to db
>on different server(s)