Re: File Parser



help textscan

you can tell it what the comment string is and give it a format to
convert the data. you can also tell it to skip a fixed number of header
lines. it is fast (much faster than reading line by line) and does
everything you need.
Thanks a lot for your help. It works perfectly well !

K.


.



Relevant Pages

  • Re: Regular Expression - old regex module vs. re module
    ... The ReportTemplate class reads a template file or string containing a ... header and line format for multiple calls with sequence data. ... def _format: ...
    (comp.lang.python)
  • Re: Write to file
    ... Nice description Bob. ... you can write the values into a string and then ... them in text format has advantages and disadvantages. ... There's a small performance penalty when reading them back, ...
    (microsoft.public.vc.mfc)
  • Re: Threading & goog-posting ?
    ... ]reading and posting to GG specific groups if you do that. ... the Google Groups 'Show original' format *will* ... header - of the/your article to which I'm replying. ...
    (news.software.readers)
  • Re: Julian Date Conversion - Can Anyone Help?
    ... If I'm reading the dates correctly, ... them to the correct date format. ... Public Function ConvertJulianDate(strJulianDate As String) As Date ... Kevin ...
    (comp.databases.ms-access)
  • Re: Date Formats in Headers/Footers
    ... Use the beforeprint event to redefine the header. ... format the date as part ... of a string that you build that will appear as you want. ... > How can the format of the current date be changed in an Excel Header or ...
    (microsoft.public.excel.programming)

Loading