News for hackers. Stuff that matters.
Re:A Code Glitch May Have Caused Errors in More Than a Hundr... by dr_zoidberg on Sunday October 13, 2019 @11:22PM (#21245023)
Seeing the code, I don't get why this was encapsulated in a function, considering they don't even take a path argument.

It could easily have been just a oneliner:

    gaussian_outputfils = sorted(glob.glob('*.out'))
Of, if it needed function form:

    def read_gaussian_outputfiles(path):
        return sorted(glob.glob(f'{path}/*.out'))

There are no comments on this comment yet.