On 9/27/06, James Johnston <[EMAIL PROTECTED]> wrote: > > I've never written a Python program before and I'm trying to read a config > file with file path/names (eg. c:\\python24\\*.dll, ... *.exe) to create an > output file of filename + md5 values. I'm confused. I'm trying to learn > how to use Wing IDE and step through the Stack Data. It seems to be > working but on the > > [INDENT]for fn in filelist: > data = file(fn,'rb').read() [/INDENT] > > I get a > > [INDENT]IOError: (2, 'No such file or directory', 'c')
Why not put a "print fn" line in just before the open, so you can see what it's choking on? -- Cheers, Simon B, [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list