[Tutor] test
Asif Iqbal
iqbala-python at qwestip.net
Fri Jun 17 16:13:04 CEST 2005
Hi All
I have a very simple problem and I am looking for the simplest solution.
I have a list of elements in a file. I like to find the total occurance
of each element in the list like this
10 string1
7 string2
1 string3
from a list which has only string1,string2 and string3 like this
string1
..
string2
...
string1
..
string3
...
...
I have a list of 30000 lines and I think I have only 615 unique
elements. So I like the script not to take too much memory of the
system. I will be running it on Solaris 8
Thanks a lot
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"..there are two kinds of people: those who work and those who take the credit...try
to be in the first group;...less competition there." - Indira Gandhi
More information about the Tutor
mailing list