Skip to content

Instantly share code, notes, and snippets.

Created September 27, 2020 12:38
What would you like to do?
opening a .txt the a file of sentences
def get_principles_list(file):
with open(file, "r") as principles:
principles_list = principles.readlines()
return principles_list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment