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


Groups > comp.lang.python > #59606

Re: Program Translation - Nov. 14, 2013

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <wrw@mac.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; '16,': 0.03; 'output': 0.05; 'mentioned,': 0.07; 'extracted': 0.09; 'statements': 0.09; 'wrapper': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '(given': 0.16; 'commented': 0.16; 'compiler.': 0.16; 'received:mac.com': 0.16; 'valid.': 0.16; 'wrote:': 0.18; 'received:10.0.1': 0.19; 'later': 0.20; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'compilation': 0.24; "shouldn't": 0.24; 'cc:no real name:2**0': 0.24; 'source': 0.25; 'nearly': 0.26; 'downloaded': 0.26; 'asking': 0.27; 'external': 0.29; 'am,': 0.29; 'compared': 0.30; 'originally': 0.30; 'code': 0.31; 'minor': 0.31; 'file': 0.32; 'sources': 0.33; 'copying': 0.34; 'could': 0.34; 'but': 0.35; 'version': 0.36; 'charset:us- ascii': 0.36; 'received:10.0': 0.36; 'two': 0.37; 'received:10': 0.37; 'easily': 0.37; 'nov': 0.38; 'received:17': 0.38; 'files': 0.38; 'changed': 0.39; 'either': 0.39; 'then,': 0.60; 'offering': 0.63; 'different': 0.65; 'effectively': 0.66; 'subject:. ': 0.67; 'between': 0.67; 'equals': 0.68; 'etc,': 0.84; 'header:In-reply- to:1': 0.84; '2013,': 0.91; 'incorporated': 0.95; 'subject:2013': 0.95
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:5.10.8794,1.0.14,0.0.0000 definitions=2013-11-16_01:2013-11-15,2013-11-16,1970-01-01 signatures=0
X-Proofpoint-Spam-Details rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1308280000 definitions=main-1311160078
Subject Re: Program Translation - Nov. 14, 2013
MIME-version 1.0 (Mac OS X Mail 6.6 \(1510\))
Content-type text/plain; charset=us-ascii
From William Ray Wing <wrw@mac.com>
X-Priority 3
In-reply-to <l67e59$v99$1@dont-email.me>
Date Sat, 16 Nov 2013 09:00:02 -0500
Content-transfer-encoding quoted-printable
References <ro-dnch2dPtbRhnPnZ2dnUVZ_rSdnZ2d@earthlink.com> <l67e59$v99$1@dont-email.me>
To Terence <tbwright@bigpond.net.au>
X-Mailer Apple Mail (2.1510)
Cc python-list@python.org, William Ray Wing <wrw@mac.com>
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2713.1384610394.18130.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1384610394 news.xs4all.nl 15931 [2001:888:2000:d::a6]:50752
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:59606

Show key headers only | View raw


On Nov 16, 2013, at 4:31 AM, Terence <tbwright@bigpond.net.au> wrote:

> I downloaded the packed file mentioned, extracted the files and had a look
> at the Fortran sources given:
> ETGTAB.FOR and ETGTAB.F
> 
> The ETGTAB.FOR file had double spacing, which Iremoved automatically, then
> compared the two sources automatically (passing and copying equals and
> offering choice between lexically different lines).
> 
> The two files were now very nearly identical, but the .FOR file had some
> CALLs to GEOEXT(IUIT6,DEXTIM) which were commented out in the other; also
> calls to LAHEY timing functions not used in the .F version (and a minor
> change in two format statements which effectively just changed the shift in
> the output report).
> 
> I don't see why not either source (given access to the external GEOEXT, etc,
> fuctions) shouldn't be left for compilation (and later running) by any F77
> or later compiler. The code is still valid.
> 

Then, use F2PY to put a python wrapper around the code, and it could easily be incorporated into the python workflow that the OP was originally asking for.

-Bill

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


Thread

Program Translation - Nov. 14, 2013 "E.D.G." <edgrsprj@ix.netcom.com> - 2013-11-14 08:18 -0600
  Re: Program Translation - Nov. 14, 2013 mecej4 <mecej4_nospam@operamail.com> - 2013-11-14 11:07 -0600
    Re: Program Translation - Nov. 14, 2013 Gordon Sande <Gordon.Sande@gmail.com> - 2013-11-14 13:36 -0400
      Re: Program Translation - Nov. 14, 2013 Clive Page <usenet@page2.eu> - 2013-11-15 11:46 +0000
    Re: Program Translation - Nov. 14, 2013 Jürgen Exner <jurgenex@hotmail.com> - 2013-11-17 09:02 -0800
  Re: Program Translation - Nov. 14, 2013 "E.D.G." <edgrsprj@ix.netcom.com> - 2013-11-15 07:51 -0600
    Re: Program Translation - Nov. 14, 2013 "E.D.G." <edgrsprj@ix.netcom.com> - 2013-11-17 04:25 -0600
      Re: Program Translation - Nov. 14, 2013 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-11-17 12:45 +0000
        Re: Program Translation - Nov. 14, 2013 "E.D.G." <edgrsprj@ix.netcom.com> - 2013-11-17 08:37 -0600
          Re: Program Translation - Nov. 14, 2013 Henry Law <news@lawshouse.org> - 2013-11-17 14:42 +0000
            Re: Program Translation - Nov. 14, 2013 Roy Smith <roy@panix.com> - 2013-11-17 10:20 -0500
              Re: Program Translation - Nov. 14, 2013 Chris Angelico <rosuav@gmail.com> - 2013-11-18 02:28 +1100
              Re: Program Translation - Nov. 14, 2013 "E.D.G." <edgrsprj@ix.netcom.com> - 2013-11-17 10:25 -0600
                Re: Program Translation - Nov. 14, 2013 Tim Prince <tprince@computer.org> - 2013-11-17 08:30 -0800
                Re: Program Translation - Nov. 14, 2013 Roy Smith <roy@panix.com> - 2013-11-17 11:43 -0500
                Re: Program Translation - Nov. 14, 2013 nospam@see.signature (Richard Maine) - 2013-11-17 09:05 -0800
                Re: Program Translation - Nov. 14, 2013 Joel Goldstick <joel.goldstick@gmail.com> - 2013-11-17 12:29 -0500
                Re: Program Translation - Nov. 14, 2013 "E.D.G." <edgrsprj@ix.netcom.com> - 2013-11-18 11:30 -0600
              Re: Program Translation - Nov. 14, 2013 Rainer Weikusat <rweikusat@mobileactivedefense.com> - 2013-11-17 18:59 +0000
          Re: Program Translation - Nov. 14, 2013 "James Van Buskirk" <not_valid@comcast.net> - 2013-11-17 09:05 -0700
        Re: Program Translation - Nov. 14, 2013 Charlton Wilbur <cwilbur@chromatico.net> - 2013-11-17 23:22 -0500
      Re: Program Translation - Nov. 14, 2013 "E.D.G." <edgrsprj@ix.netcom.com> - 2013-11-17 10:17 -0600
        Re: Program Translation - Nov. 14, 2013 "E.D.G." <edgrsprj@ix.netcom.com> - 2013-11-17 12:07 -0600
      Re: Program Translation - Nov. 14, 2013 Terry Reedy <tjreedy@udel.edu> - 2013-11-17 22:28 -0500
        Re: Program Translation - Nov. 14, 2013 "E.D.G." <edgrsprj@ix.netcom.com> - 2013-11-18 11:15 -0600
          Re: Program Translation - Nov. 14, 2013 Joel Goldstick <joel.goldstick@gmail.com> - 2013-11-18 12:35 -0500
      Several Topics - Nov. 19, 2013 "E.D.G." <edgrsprj@ix.netcom.com> - 2013-11-19 05:26 -0600
        Re: Several Topics - Nov. 19, 2013 glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2013-11-19 20:51 +0000
          Re: Several Topics - Nov. 19, 2013 Yaşar Arabacı <yasar11732@gmail.com> - 2013-11-19 23:31 +0200
          Re: Several Topics - Nov. 19, 2013 Rainer Weikusat <rweikusat@mobileactivedefense.com> - 2013-11-19 21:35 +0000
            Re: Several Topics - Nov. 19, 2013 glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2013-11-19 22:43 +0000
              Re: Several Topics - Nov. 19, 2013 Chris Angelico <rosuav@gmail.com> - 2013-11-20 10:01 +1100
              Re: Several Topics - Nov. 19, 2013 gamo <gamo@telecable.es> - 2013-11-20 21:48 +0100
  Re: Program Translation - Nov. 14, 2013 "Terence" <tbwright@bigpond.net.au> - 2013-11-16 20:31 +1100
    Re: Program Translation - Nov. 14, 2013 William Ray Wing <wrw@mac.com> - 2013-11-16 09:00 -0500

csiph-web