formatting file

SPJ mail2spj at yahoo.com
Wed Apr 6 09:22:26 EDT 2005


Hi,

I am new to python hence posing this question.
I have a file with the following format:

test1    1.1-1   installed
test1    1.1-1   update
test2    2.1-1   installed
test2    2.1-2   update

I want the file to be formatted in the following way:

test1    1.1-1   1.1-2
test2    2.1-1   2.1-2

How can I achieve this? I am stuck here.

Thanks in advance.
spj


		
__________________________________ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest



More information about the Python-list mailing list