Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'scipy': 0.05; 'seemed': 0.07; 'python': 0.09; '"class"': 0.09; 'porting': 0.09; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; 'language': 0.14; 'btw:': 0.16; 'from:addr:me.com': 0.16; 'matlab': 0.16; 'message-id:@me.com': 0.16; 'received:mac.com': 0.16; 'subject:their': 0.16; 'martin': 0.16; 'software.': 0.21; 'cheers,': 0.23; 'cc:no real name:2**0': 0.24; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; '[1]': 0.27; 'url:mailman': 0.29; "i'm": 0.29; 'code': 0.31; 'url:python': 0.32; 'could': 0.32; 'url:listinfo': 0.32; 'themselves': 0.33; 'project': 0.34; 'received:17': 0.35; 'received:192.168.0': 0.35; 'url:org': 0.36; 'modules': 0.36; 'charset:us-ascii': 0.36; 'turn': 0.36; 'subject:: ': 0.38; 'easier': 0.38; 'some': 0.38; 'received:192': 0.39; 'build': 0.39; 'received:192.168': 0.40; 'help': 0.40; 'url:mail': 0.40; 'think': 0.40; 'kind': 0.61; 'provide': 0.62; 'identifying': 0.65; 'commercial': 0.73; 'actually,': 0.84; 'greetings!': 0.84 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.431,0.0.0000 definitions=2012-11-02_03:2012-11-02, 2012-11-02, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1211020132 Subject: Re: Organisation of python classes and their methods From: Martin Hewitson In-reply-to: <08jcm9-to5.ln1@satorlaser.homedns.org> Date: Fri, 02 Nov 2012 15:49:16 +0100 References: <7xa9v0wj2g.fsf@ruckus.brouhaha.com> <08jcm9-to5.ln1@satorlaser.homedns.org> To: Ulrich Eckhardt X-Mailer: Apple Mail (2.1499) Cc: python-list@python.org, Martin Hewitson X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1351867769 news.xs4all.nl 6958 [2001:888:2000:d::a6]:32981 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:32634 > > > 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. 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 > > 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