[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to know number of lines from input file
From: |
Jaroslav Hajek |
Subject: |
Re: how to know number of lines from input file |
Date: |
Thu, 8 Oct 2009 16:49:07 +0200 |
On Thu, Oct 8, 2009 at 4:44 PM, <address@hidden> wrote:
> At the risk of sounding like a heretic here. Have you looked at python?
> A colleague of mine wrapped a python script around my octave script that
> did much like you asked for.
>
> In five minutes he had a script that read a file took out lines,
> interpreted variations of those lines/files and basically removed
> everything but just the data that I wanted. And, when that data wasn't in
> the right format for octave, his script changed the lines to make them
> octave script compatible. And, we're talking lots of variations and some
> weird data files, too.
>
> I think the latest python version that will run on Win98 is 2.5.4
>
> Anyway, the two together are awesome.
>
Yes, and you probably haven't seen Pytave yet :)
https://launchpad.net/pytave/
best regs
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz