News for hackers. Stuff that matters.
Re:Show HN: CSV file merging by cuchoi on Tuesday December 17, 2019 @01:00PM (#21816438)
I like glob for getting the list of files:

    import glob
    list_of_files = glob.glob("*.csv")
You can also use Pathlib:

    from pathlib import Path
    dir = Path(".").glob('*.csv')
Re:Show HN: CSV file merging by dr_kiszonka on Tuesday December 17, 2019 @01:38PM (#21816976)
Glob is great but on some OS (Linux maybe?) it doesn't guarantee maintaining the order of files. If order matters, it would make sense to sort the results prior to processing.