Re: Useful module to be written by a newbie

2015-05-09 Thread Cecil Westerhof
Op Saturday 9 May 2015 08:10 CEST schreef Michael Welle: Cecil Westerhof ce...@decebal.nl 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 hear.

Re: Useful module to be written by a newbie

2015-04-29 Thread 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 started a Python library on GitHub:

Re: Useful module to be written by a newbie

2015-04-29 Thread Ian Kelly
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 many use

Re: Useful module to be written by a newbie

2015-04-29 Thread Peter Otten
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 useful at the

Re: Useful module to be written by a newbie

2015-04-29 Thread Cecil Westerhof
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 started a

Re: Useful module to be written by a newbie

2015-04-29 Thread Cecil Westerhof
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 clear that your

Re: Useful module to be written by a newbie

2015-04-29 Thread Peter Otten
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 should probably document

Useful module to be written by a newbie

2015-04-29 Thread Cecil Westerhof
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/CecilWesterhof/PythonLibrary Anyone an