Take the 2-minute tour ×  I'm really new to Python, so this
question might be a bit basic. I have 44 csv files with the same
headers and different file names. I want to combine them all
into one file.  Each file is named "Votes-[member-
name]-(2010-2014)-[download-time].csv"  The headers are do not
include a column for the member name. I would like to add that
as the first item.  This does part of what I want to do: how to
merge 200 csv files in Python. I'm just not sure how to iterate
through files with different names, and add those names to the
csv.   share|improve this question  closed as off-topic by
Wladimir Palant, ekhumoro, joaquin, kroolik, zmo Feb 28 at 13:26
• "Questions asking for code must demonstrate a minimal
understanding of the problem being solved. Include attempted
solutions, why they didn't work, and the expected results. See
also: Stack Overflow question checklist" – Wladimir Palant,
ekhumoro, joaquin, kroolik  1 Answer 1  up vote 4 down vote
accepted  To iterate through the filenames