Aug-10-2020, 04:43 PM
You need to provide glob.glob with a path name and a pattern (and optional recursive flag). Where are those? I see only 1 string. If you had tested glob using a simpler patter, say 'test.txt' where you knew there was a test.txt file, you probably would have found this problem yourself.
If you don't know why something doesn't work the first thing to do is determine what could be causing it to fail. You didn't know if your pattern was wrong or if you were using glob wrong. You are using glob wrong. I don't know about the pattern.
If you don't know why something doesn't work the first thing to do is determine what could be causing it to fail. You didn't know if your pattern was wrong or if you were using glob wrong. You are using glob wrong. I don't know about the pattern.