Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #89560

Re: Useful module to be written by a newbie

From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.python
Subject Re: Useful module to be written by a newbie
Organization Decebal Computing
References <87y4lbasvf.fsf@Equus.decebal.nl> <mailman.88.1430324895.3680.python-list@python.org>
Date 2015-04-29 19:12 +0200
Message-ID <87pp6mc100.fsf@Equus.decebal.nl> (permalink)

Show all headers | View raw


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 Python library on GitHub:
>> https://github.com/CecilWesterhof/PythonLibrary
>>
>> Anyone an idea about functions and classes that would be useful for
>> the Python community and could be written by me?
>
> 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. :'-( But can you enlighten me? Then I
can learn from it.


> But: a family member, or friend, or even you yourself with a small
> real- world problem will not care whether your code is idiomatic
> Python as long as it works as advertised. So I'd look that way.
>
> As you idle along you'll quickly get better and may encounter a
> library where you think "That might be a useful extension" or one
> where you think "That's much too complex, I can make it simpler for
> 80% of the use cases".
>
> VoilĂ  your contributions to the community.

Well, I hope that will happen soon.


> PS: Regarding your MovingAverage class, have a look at zip(),
> generators or the __iter__() method, and -- most important -- unit
> tests.

I will do that.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Useful module to be written by a newbie Cecil Westerhof <Cecil@decebal.nl> - 2015-04-29 16:53 +0200
  Re: Useful module to be written by a newbie Peter Otten <__peter__@web.de> - 2015-04-29 18:27 +0200
    Re: Useful module to be written by a newbie Cecil Westerhof <Cecil@decebal.nl> - 2015-04-29 19:12 +0200
      Re: Useful module to be written by a newbie Peter Otten <__peter__@web.de> - 2015-04-29 21:03 +0200
        Re: Useful module to be written by a newbie Cecil Westerhof <Cecil@decebal.nl> - 2015-04-29 22:47 +0200
          Re: Useful module to be written by a newbie Peter Otten <__peter__@web.de> - 2015-04-30 00:00 +0200
          Re: Useful module to be written by a newbie Michael Welle <mwe012008@gmx.net> - 2015-05-09 08:10 +0200
            Re: Useful module to be written by a newbie Cecil Westerhof <Cecil@decebal.nl> - 2015-05-09 10:28 +0200
              Re: Useful module to be written by a newbie Michael Welle <mwe012008@gmx.net> - 2015-05-09 11:43 +0200
      Re: Useful module to be written by a newbie Ian Kelly <ian.g.kelly@gmail.com> - 2015-04-29 13:40 -0600

csiph-web