305 # We're only interested in files that look like reasonable Python |
305 # We're only interested in files that look like reasonable Python |
306 # files: Must end with .py or .pyw, and must not have certain funny |
306 # files: Must end with .py or .pyw, and must not have certain funny |
307 # characters that probably mean they are editor junk. |
307 # characters that probably mean they are editor junk. |
308 if re.match(r"^[^.#~!$@%^&*()+=,]+\.pyw?$", filename): |
308 if re.match(r"^[^.#~!$@%^&*()+=,]+\.pyw?$", filename): |
309 yield os.path.join(dirpath, filename) |
309 yield os.path.join(dirpath, filename) |
|
310 |
|
311 # |
|
312 # eflag: FileType = Python2 |