Re: [Tutor] Forgot something...

2008-01-25 Thread Kent Johnson
Timothy Sikes wrote: Sorry, but in my previous message, I realized that I hadn't changed the code from doesNotHave... It's supposed to be x.find(), not x.startswith.. You meant to write: def doesNotHave(exclude, root): for x in exclude: if root.find(x) -1:

[Tutor] Forgot something...

2008-01-24 Thread Timothy Sikes
Sorry, but in my previous message, I realized that I hadn't changed the code from doesNotHave... It's supposed to be x.find(), not x.startswith..Oh, and I also am not worried about messing up any files too much, because I have them all backed up on another computer already