[Tutor] glob and file names

Dave Angel davea at davea.name
Fri Jun 6 05:13:43 CEST 2014


Gabriele Brambilla <gb.gabrielebrambilla at gmail.com> Wrote in message:
>
> 
(missing because you posted in html. Please tell your email program to use text)

Simplify your program to where it's small and self contained.  You
 currently have a string built up from several parts.  Since you
 think the problem is in the glob call, you should be able to show
 it in 3 lines or so.

   filespec="f gytrr y yyrddty*.txt"
    hh= glob.glo...
   print (repr (hh))

Then specify the python version and OS.

Since I have to guess,  I'd say you had an unprintable in one of
 those variables.




-- 
DaveA



More information about the Tutor mailing list