Re: Dictionary/Hash question

2007-02-06 Thread Gabriel Genellina
En Wed, 07 Feb 2007 00:28:31 -0300, Sick Monkey <[EMAIL PROTECTED]> escribió: > qualm after qualm. Before you read this, my OS is Linux, up2date, and > minimal RAM (512). And Python 2.3 or earlier, I presume, else you would have the builtin set type. > The files that my script needs to read

Re: Dictionary/Hash question

2007-02-06 Thread Sick Monkey
qualm after qualm. Before you read this, my OS is Linux, up2date, and minimal RAM (512). On purpose becuase I want this app to run on anything. I have 2 very good solutions to this problem (AND I WANT TO THANK 'Gabriel Genellina' AND 'Don Morrison' with comparing 2 LARGE files). (LARGE means an

Re: Dictionary/Hash question

2007-02-06 Thread Gabriel Genellina
En Tue, 06 Feb 2007 22:18:07 -0300, Sick Monkey <[EMAIL PROTECTED]> escribió: > I have never seen this "with open(fname,'r') as finput:" > > It is actually throwing an error . Do I have to import a special > library to > use this? > > File "dictNew.py", line 23 > with open(fname,'r') as

Re: Dictionary/Hash question

2007-02-06 Thread Sick Monkey
I have never seen this "with open(fname,'r') as finput:" It is actually throwing an error . Do I have to import a special library to use this? File "dictNew.py", line 23 with open(fname,'r') as finput: ^ SyntaxError: invalid syntax On 2/6/07, Gabriel Genellina <[EMAIL PROTECTED]>

Re: Dictionary/Hash question

2007-02-06 Thread Gabriel Genellina
En Tue, 06 Feb 2007 20:31:17 -0300, Sick Monkey <[EMAIL PROTECTED]> escribió: > Even though I am starting to get the hang of Python, I continue to find > myself finding problems that I cannot solve. > I have never used dictionaries before and I feel that they really help > improve efficiency whe