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


Groups > comp.lang.python > #32638

Re: Organisation of python classes and their methods

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'scipy': 0.05; 'seemed': 0.07; 'python': 0.09; '"class"': 0.09; 'matplotlib': 0.09; 'porting': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:python': 0.11; 'language': 0.14; 'btw:': 0.16; 'matlab': 0.16; 'numpy': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:their': 0.16; 'martin': 0.16; 'wrote:': 0.17; 'software.': 0.21; 'cheers,': 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '[1]': 0.27; 'separate': 0.27; 'header:X-Complaints-To:1': 0.28; 'questions.': 0.29; 'url:mailman': 0.29; "i'm": 0.29; 'lists': 0.31; 'code': 0.31; 'url:python': 0.32; 'from:addr:yahoo.co.uk': 0.32; 'support,': 0.32; 'could': 0.32; 'url:listinfo': 0.32; 'to:addr:python-list': 0.33; 'themselves': 0.33; 'version': 0.34; 'project': 0.34; 'posting': 0.35; 'there': 0.35; 'received:org': 0.36; 'tool': 0.36; 'url:org': 0.36; 'modules': 0.36; 'should': 0.36; 'turn': 0.36; 'subject:: ': 0.38; 'mark': 0.38; 'easier': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'build': 0.39; 'header:Received:5': 0.40; 'help': 0.40; 'url:mail': 0.40; 'think': 0.40; 'further': 0.61; 'kind': 0.61; 'provide': 0.62; 'identifying': 0.65; 'commercial': 0.73; 'kit': 0.78; 'actually,': 0.84; 'greetings!': 0.84; 'presumably': 0.84; 'received:89': 0.86
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Organisation of python classes and their methods
Date Fri, 02 Nov 2012 17:02:05 +0000
References <mailman.3177.1351840590.27098.python-list@python.org> <7xa9v0wj2g.fsf@ruckus.brouhaha.com> <mailman.3180.1351843706.27098.python-list@python.org> <08jcm9-to5.ln1@satorlaser.homedns.org> <746E1174-9BF2-4526-ADE4-6DE5C467696A@me.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-89-243-197-17.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.0; rv:16.0) Gecko/20121026 Thunderbird/16.0.2
In-Reply-To <746E1174-9BF2-4526-ADE4-6DE5C467696A@me.com>
X-Antivirus avast! (VPS 121102-0, 02/11/2012), Outbound message
X-Antivirus-Status Clean
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3211.1351875794.27098.python-list@python.org> (permalink)
Lines 38
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1351875794 news.xs4all.nl 6916 [2001:888:2000:d::a6]:56504
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:32638

Show key headers only | View raw


On 02/11/2012 14:49, Martin Hewitson wrote:

[Top posting fixed]

>
>>
>>
>> BTW: If you told us which language(s) you have a background in, it could be easier to help you with identifying the idioms in that language that turn into misconceptions when applied to Python.
>
>>
>> Greetings!
>>
>> Uli
>>
>> [1] Actually, modules themselves provide the kind of separation that I think you are after. Don't always think "class" if it comes to encapsulation and modularization!
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>
> I'm considering porting some MATLAB code to python to move away from commercial software. Python seemed like the right choice simply because of the wonderful numpy, scipy and matplotlib.
>
> So my project will build on these packages to provide some additional state and functionality.
>
> Cheers,
>
> Martin
>

Just in case you're not aware there are separate mailing lists for numpy 
and matplotlib, presumably scipy as well, should you have specific 
questions.  Further matplotlib is now at version 1.2rc3 with Python 3 
support, yippee.  Combine that with the recently released Python 3.3 and 
it should make one hell of a tool kit :)

-- 
Cheers.

Mark Lawrence.

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


Thread

Organisation of python classes and their methods Martin Hewitson <martinhewitson@mac.com> - 2012-11-02 07:16 +0100
  Re: Organisation of python classes and their methods Paul Rubin <no.email@nospam.invalid> - 2012-11-02 00:38 -0700
    Re: Organisation of python classes and their methods Martin Hewitson <martinhewitson@mac.com> - 2012-11-02 09:08 +0100
      Re: Organisation of python classes and their methods Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-11-02 11:18 +0100
        Re: Organisation of python classes and their methods Martin Hewitson <martinhewitson@me.com> - 2012-11-02 15:49 +0100
        Re: Organisation of python classes and their methods Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-11-02 17:02 +0000
      Re: Organisation of python classes and their methods Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-11-03 01:38 +0000
    Re: Organisation of python classes and their methods Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-11-02 08:40 +0000
      Re: Organisation of python classes and their methods Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-11-02 10:20 +0000
    Re: Organisation of python classes and their methods Chris Angelico <rosuav@gmail.com> - 2012-11-02 20:15 +1100
    Re: Organisation of python classes and their methods Martin Hewitson <martinhewitson@mac.com> - 2012-11-02 09:45 +0100
    Re: Organisation of python classes and their methods Peter Otten <__peter__@web.de> - 2012-11-02 11:21 +0100
    Re: Organisation of python classes and their methods Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-11-02 10:48 +0000
    Re: Organisation of python classes and their methods Robert Kern <robert.kern@gmail.com> - 2012-11-02 10:55 +0000
    Re: Organisation of python classes and their methods Robert Kern <robert.kern@gmail.com> - 2012-11-02 11:07 +0000
  Re: Organisation of python classes and their methods Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-11-03 01:06 +0000
    Re: Organisation of python classes and their methods Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-11-03 01:08 +0000

csiph-web