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


Groups > comp.lang.python > #16294

Re: suitability of python

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.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.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.01; 'newbie': 0.03; 'python.': 0.04; 'python': 0.08; '(written': 0.09; 'manipulation': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:python': 0.10; 'interfaces': 0.12; 'from:addr:behnel.de': 0.16; 'from:addr:stefan_ml': 0.16; 'from:name:stefan behnel': 0.16; 'glue': 0.16; 'language': 0.17; 'computing': 0.18; 'wrap': 0.18; 'programming': 0.21; 'pointed': 0.21; 'asked': 0.22; 'header:In- Reply-To:1': 0.22; 'runs': 0.23; 'interface': 0.23; 'stefan': 0.24; 'code': 0.25; 'specifically': 0.27; '(and': 0.28; '(depending': 0.30; 'skip:( 20': 0.31; 'quite': 0.32; 'wondering': 0.32; 'scientific': 0.32; 'header:User-Agent:1': 0.33; 'header:X -Complaints-To:1': 0.33; 'weeks': 0.33; 'to:addr:python-list': 0.34; 'received:84': 0.34; 'anything': 0.34; 'thus,': 0.34; 'test': 0.35; 'external': 0.35; 'data.': 0.36; 'two': 0.37; 'using': 0.38; 'answers': 0.38; 'received:org': 0.38; 'should': 0.39; 'why': 0.39; "it's": 0.40; 'to:addr:python.org': 0.40; 'extremely': 0.40; 'type': 0.61; 'your': 0.61; 'kind': 0.61; 'efficient': 0.62; 'miss': 0.62; 'heavy': 0.71
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Stefan Behnel <stefan_ml@behnel.de>
Subject Re: suitability of python
Date Sun, 27 Nov 2011 17:54:47 +0000
References <1322137895.4211.3.camel@roddur>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host dslb-084-056-009-164.pools.arcor-ip.net
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Lightning/1.0b2 Thunderbird/3.1.15
In-Reply-To <1322137895.4211.3.camel@roddur>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.3077.1322416501.27778.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1322416501 news.xs4all.nl 6967 [2001:888:2000:d::a6]:48720
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:16294

Show key headers only | View raw


Rudra Banerjee, 24.11.2011 12:31:
> I am a newbie in python and basically i use python for postprocessing
> like plotting, data manipulation etc.
> Based on ease of programming on python I am wondering if I can consider
> it for the main development as well. My jobs (written on fortran) runs
> for weeks and quite CPU intensive. How python works on these type of
> heavy computation?

You already got a lot of answers that pointed you to the scientific 
computing tools that are available for Python. The reason why they exist is 
because (and nowadays also "why") Python is so extremely popular in that 
field: it's an easy to learn and use language and the standard 
implementation (often referred to as CPython) makes it really easy to 
interface with external code (C/C++/Fortran/etc.) in a very efficient way.

In addition to looking at NumPy/SciPy and/or Sage (depending on the kind of 
computations you are involved with), you should also look at fwrap and 
Cython. They will allow you to easily wrap your existing Fortran code for 
Python, and to quickly write very fast glue code for the two language 
environments. Thus, you can keep your existing code as it is, and use and 
control it from Python, using all the nice tools that Python provides for 
quickly writing anything from distributed code and test suites to graphical 
user interfaces for visualising your data. Since you specifically asked 
about plotting, don't miss out on matplotlib.

Stefan

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


Thread

suitability of python Rudra Banerjee <bnrj.rudra@gmail.com> - 2011-11-24 18:01 +0530
  Re: suitability of python Laurent Claessens <moky.math@gmail.com> - 2011-11-24 13:46 +0100
  Re: suitability of python Dave Angel <d@davea.name> - 2011-11-24 08:08 -0500
  Re: suitability of python Terry Reedy <tjreedy@udel.edu> - 2011-11-24 19:51 -0500
    Re: suitability of python 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-24 19:27 -0800
    Re: suitability of python 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-24 19:27 -0800
    Re: suitability of python alex23 <wuwei23@gmail.com> - 2011-11-24 19:37 -0800
  Re: suitability of python Alan Meyer <ameyer2@yahoo.com> - 2011-11-24 23:06 -0500
  Re: suitability of python Grant Edwards <invalid@invalid.invalid> - 2011-11-27 17:19 +0000
  Re: suitability of python Stefan Behnel <stefan_ml@behnel.de> - 2011-11-27 17:54 +0000

csiph-web