Skip to content

Instantly share code, notes, and snippets.

@mjlyons
Created June 15, 2019 14:34
Show Gist options
  • Save mjlyons/9d03ba7380f82acd0f93622fe9929782 to your computer and use it in GitHub Desktop.
Save mjlyons/9d03ba7380f82acd0f93622fe9929782 to your computer and use it in GitHub Desktop.
for data_filename in data_filenames:
data_filepath = os.path.join(data_dirpath, data_filename)
data_file = open(data_filepath)
data_contents = data_file.read()
print(data_contents)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment