Created
December 2, 2022 08:01
-
-
Save akirataguchi115/1a1cd52f8645f43d908b862a028cc31f to your computer and use it in GitHub Desktop.
Näin haet KELAn kuntoutuspsykoterapiaan Liisa Pankolan ohjeilla
This file contains 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
f = open("input", "r") | |
o = open("output", "w") | |
lines = f.readlines() | |
f.close() | |
list = [] | |
for line in lines: | |
if "HELSINKI" in line and not "http" in line: | |
split = line.split("\t") | |
o.write(split[len(split) - 1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment