Skip to content

Instantly share code, notes, and snippets.

@EnkrateiaLucca
Created September 27, 2020 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EnkrateiaLucca/d644da4f782b1fc73b72276d2ebab489 to your computer and use it in GitHub Desktop.
Save EnkrateiaLucca/d644da4f782b1fc73b72276d2ebab489 to your computer and use it in GitHub Desktop.
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