Op Saturday 9 May 2015 08:10 CEST schreef Michael Welle:
> Cecil Westerhof writes:
>
>> Op Wednesday 29 Apr 2015 21:03 CEST schreef Peter Otten:
>>
> Realistically a Python coder with a little experience will have
> a glance at your code and run away.
Oops, that is not nice to h
Cecil Westerhof wrote:
> Op Wednesday 29 Apr 2015 21:03 CEST schreef Peter Otten:
>> I was judging from the look of your MovingAverage.
>>
>> I don't like the interface, it really should take an iterable so
>> that you can write
>>
> list(moving_average([1,2,3], 2))
>> [1.5, 2.5]
>
> I shoul
Op Wednesday 29 Apr 2015 21:03 CEST schreef Peter Otten:
>>> Realistically a Python coder with a little experience will have a
>>> glance at your code and run away.
>>
>> Oops, that is not nice to hear. :'-(
>
> Sorry, I did not mean to discourage you or insult you, I just wanted
> to make it cle
On Wed, Apr 29, 2015 at 1:03 PM, Peter Otten <__pete...@web.de> wrote:
> I was judging from the look of your MovingAverage.
>
> I don't like the interface, it really should take an iterable so that you
> can write
>
list(moving_average([1,2,3], 2))
> [1.5, 2.5]
The problem with this is that m
Cecil Westerhof wrote:
> Op Wednesday 29 Apr 2015 18:27 CEST schreef Peter Otten:
>
>> Cecil Westerhof wrote:
>>
>>> I have experience with Python, but it has been some time ago. The
>>> best way to relearn a language (for me) is just make a lot of code
>>> with it. But it would be nice if it was
Op Wednesday 29 Apr 2015 18:27 CEST schreef Peter Otten:
> Cecil Westerhof wrote:
>
>> I have experience with Python, but it has been some time ago. The
>> best way to relearn a language (for me) is just make a lot of code
>> with it. But it would be nice if it was useful at the same time. I
>> st
Cecil Westerhof wrote:
> I have experience with Python, but it has been some time ago. The best
> way to relearn a language (for me) is just make a lot of code with it.
> But it would be nice if it was useful at the same time. I started a
> Python library on GitHub:
> https://github.com/CecilW