[Tutor] where to start?
Sat, 27 Jan 2001 18:02:53 -0800 (PST)
On Sun, 28 Jan 2001, Gregory Tucker wrote:
> I am hesitant to post this, only because I know the code isn't very
Don't worry about it. Let's take a look at a few lines:
> f = open("cookiesok.txt", 'r')
> ok = f.readlines()
You might want to strip off the newlines within ok, as a preparation step
for the searching later on, because that will make:
> sf = string.find(string.lower(i), string.lower(j[:-1]))
sf = string.find(string.lower(i), string.lower(j))
which is a little simpler. Otherwise, I think it looks great.