Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
End the "Making Choices" lesson with an example that synthesizes what has been learned up to that point #293
Let's combine what we've learned about searching for files (glob), reading in data (numpy.loadtxt), iterating over sequences (for loops), and making choices (if statements) to check all of our data files in a single loop:
for datafile in glob.glob('data/inflammation*.csv'):