On Sun, Dec 30, 2018 at 11:07:19AM -0500, Avi Gross wrote:
> Steve,
>
> I had the same thoughts and many more when I played with these ideas
> last night.
Pity that one of those thoughts wasn't "I shouldn't suggest a bad
solution on a mailing list populated by beginners who won't recognise
On 30/12/2018 22:25, Avi Gross wrote:
> I admit I have not studied the charter for the group.
As moderator I feel the need to step in here because the
charter is extremely apropos to that function and some
clarification may be helpful.
Mark is correct in that the group is focused on the
core
Mark,
I will be happy to make a somewhat less brief reply to a reasonable enough
question.
I admit I have not studied the charter for the group. The standard library is
not something I consider as many distributions automatically add libraries like
np and pandas. I do accept your point. I
On 30/12/2018 17:26, Avi Gross wrote:
Replying to Steve's points. Again, it was not a serious design and said so
but was an ACADEMIC exploration of what could be done. I fully agree with
Steve that it is probably not a great idea to do this but note the original
request might not have been a
Replying to Steve's points. Again, it was not a serious design and said so
but was an ACADEMIC exploration of what could be done. I fully agree with
Steve that it is probably not a great idea to do this but note the original
request might not have been a great one in the first place.
There are
Steve,
I had the same thoughts and many more when I played with these ideas last
night. I thought I stated clearly that this was an EXPLORATION and not a
serious solution. So if that is accepted, we can certainly discuss merits
without giving demerits as well as the many flaws and dangers
Thank you all for the quick response!
On Sun, Dec 30, 2018 at 10:39 AM Avi Gross wrote:
> I have my usual off the wall answer.
>
> OK, seriously. Not exactly an answer but perhaps an experiment.
>
> The question was how to have a non-named first argument to a function with
> some form of
Avi Gross wrote:
> To spare others,
Thank you for that.
> I sent Steven alone
'Tis well deserved ;)
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
On Sun, Dec 30, 2018 at 12:07:20AM -0500, Avi Gross wrote:
[...]
> Or on a more practical level, say a function wants an input from 1 to 10.
> The if statement above can be something like:
>
> >>> def hello(a, *n, **m) :
> if not (1 <= a <= 10) : a=5
> print(a)
> print(*n)
>
>