SPJ wrote:
> test11.1-1 installed
> test11.1-1 update
> test22.1-1 installed
> test22.1-2 update
>
> I want the file to be formatted in the following way:
>
> test11.1-1 1.1-2
> test22.1-1 2.1-2
The following program expects a sorted input file:
import itert
SPJ wrote:
Hi,
I am new to python hence posing this question.
I have a file with the following format:
test11.1-1 installed
test11.1-1 update
test22.1-1 installed
test22.1-2 update
I want the file to be formatted in the following way:
test11.1-1 1.1-2
test22.1-1
SPJ wrote:
> I am new to python hence posing this question.
> I have a file with the following format:
>
> test11.1-1 installed
> test11.1-1 update
> test22.1-1 installed
> test22.1-2 update
>
> I want the file to be formatted in the following way:
>
> test11.1-1 1.1-2
SPJ wrote:
Hi,
I am new to python hence posing this question.
I have a file with the following format:
test11.1-1 installed
test11.1-1 update
test22.1-1 installed
test22.1-2 update
I want the file to be formatted in the following way:
test11.1-1 1.1-2
test22.1-1
SPJ wrote:
I have a file with the following format:
test11.1-1 installed
test11.1-1 update
test22.1-1 installed
test22.1-2 update
I want the file to be formatted in the following way:
test11.1-1 1.1-2
test22.1-1 2.1-2
Please verify that you made an error about th
Hi,
I am new to python hence posing this question.
I have a file with the following format:
test11.1-1 installed
test11.1-1 update
test22.1-1 installed
test22.1-2 update
I want the file to be formatted in the following way:
test11.1-1 1.1-2
test22.1-1 2.1-2