Reading files in from the proper directory

John Gordon gordon at panix.com
Tue Feb 7 15:00:34 EST 2012


In <9bfb3e39-2bc6-4399-90cc-1c53aa06265e at h6g2000yqk.googlegroups.com> SMac2347 at comcast.net 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 panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"




More information about the Python-list mailing list