Merging contents of two files
Bengt Richter
bokr at oz.net
Wed May 15 19:17:17 EDT 2002
On Wed, 15 May 2002 15:28:05 +0200, Katharina.Pergens at dlr.de wrote:
>I'm a beginner. What to do ...
First thing, try to post in plain text so more people will take the trouble to read:
>I'm a beginner. What to do writing a Python script for searching the name of the
>author of source files and generating an outputfile containing the author name
>(containing in java source file), Explanation, File and Line (containing in txt File;
>see below)
>So, what I have is a text file (.txt) like the following:
> Abbreviation Explanation. File Line
> xyz comment for class /home/de/abc.java 45
> ... ... ..
>This txt file contains of several lines and rows. The rows are sepearated by tabs.
>The source files (mentioned as File in txt file) are java files. I search in the header
>for
> "* Created: dd/mm/yyy firstname.secondname"
>How to write the script?
>Thanks for your help!
Regards,
Bengt Richter
More information about the Python-list
mailing list