SyntaxFix
Write A Post
Hire A Developer
Questions
glob returns a list: why not just run it multiple times and concatenate the results?
glob
from glob import glob project_files = glob('*.txt') + glob('*.mdown') + glob('*.markdown')