Created
August 13, 2020 15:48
-
-
Save Khazbs/d68c898dd4d3429d05526a5c4c71d44e to your computer and use it in GitHub Desktop.
Reads file.txt, splits each row by whitespace and takes second column values
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| column = [line.strip().split()[1] for line in open('file.txt', 'r', encoding='utf-8')] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment