Reading files in from the proper directory

John Gordon gordon at
Tue Feb 7 21:00:34 CET 2012

In <9bfb3e39-2bc6-4399-90cc-1c53aa06265e at> SMac2347 at writes:

>     xls_files   = glob.glob(in_dir + "*.xls")

You may want to put a directory separator character in between the
directory name and the filename glob pattern.

John Gordon                   A is for Amy, who fell down the stairs
gordon at              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

More information about the Python-list mailing list