Skip to content

Instantly share code, notes, and snippets.

@CribberSix
Created November 1, 2021 17:45
Show Gist options
  • Save CribberSix/fb25a8abc36295a8babc515ceddb3791 to your computer and use it in GitHub Desktop.
Save CribberSix/fb25a8abc36295a8babc515ceddb3791 to your computer and use it in GitHub Desktop.
with open(file_name, "r", encoding="utf-8") as f:
content = f.read().split("\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment