I am beginning to use python primarily to organize data into formats
needed for input into some statistical packages. I do not have much
programming experience outside of LaTeX and R, so some of this is a bit
new. I am attempting to write a program that reads in a text file that
contains some
Harold To illustrate, assume I have a text file, call it test.txt, with
Harold the following information:
Harold X11 .32
Harold X22 .45
Harold My goal in the python program is to manipulate this file such
Harold that a new file would be created that looks like: