On Fri, Mar 6, 2009 at 5:03 PM, Harris, Sarah L <sarah.l.har...@jpl.nasa.gov> wrote:
> fname=filter(isfile, glob.glob('*.zip')) > for fname in fname: > zipnames=filter(isfile, glob.glob('*.zip')) > for zipname in zipnames: > ... It looks you're using an unnecessary extra loop. Aren't the contents of fname similar to zipnames? I tried it with one loop (for zipname in zipnames:) and it worked. P.S. You're at jpl? That's awesome! I was looking at internships they have few days ago. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor