On Thu, Jan 12, 2012 at 10:56 PM, Dave Angel wrote:
> On 01/12/2012 09:38 AM, lina wrote:
>>
>> Hi,
>>
>> there is a file
>>
>> $ cat atom-pair_9.out | wc -l
>> 75426
>>
>> there is 75426 lines there,
>>
>> results=[]
>> unique={}
>> for line in open(tobetranslatedfile,"r"):
>>
On 01/12/2012 09:38 AM, lina wrote:
Hi,
there is a file
$ cat atom-pair_9.out | wc -l
75426
there is 75426 lines there,
results=[]
unique={}
for line in open(tobetranslatedfile,"r"):
tobetranslatedparts=line.strip().split()
results.append(dictionary[tobetransl
On 1/12/2012 9:38 AM, lina wrote:
Hi,
there is a file
$ cat atom-pair_9.out | wc -l
75426
there is 75426 lines there,
results=[]
unique={}
for line in open(tobetranslatedfile,"r"):
tobetranslatedparts=line.strip().split()
results.append(dictionary[tobetranslat
Hi
On 12 January 2012 14:38, lina wrote:
> Hi,
>
> there is a file
>
> $ cat atom-pair_9.out | wc -l
> 75426
>
> there is 75426 lines there,
>
> results=[]
> unique={}
> for line in open(tobetranslatedfile,"r"):
> tobetranslatedparts=line.strip().split()
> results.append(di
Hi,
there is a file
$ cat atom-pair_9.out | wc -l
75426
there is 75426 lines there,
results=[]
unique={}
for line in open(tobetranslatedfile,"r"):
tobetranslatedparts=line.strip().split()
results.append(dictionary[tobetranslatedparts[2]])
it complains
results.a