Skip to content

Instantly share code, notes, and snippets.

@akirataguchi115
Created December 2, 2022 08:01
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 akirataguchi115/1a1cd52f8645f43d908b862a028cc31f to your computer and use it in GitHub Desktop.
Save akirataguchi115/1a1cd52f8645f43d908b862a028cc31f to your computer and use it in GitHub Desktop.
Näin haet KELAn kuntoutuspsykoterapiaan Liisa Pankolan ohjeilla
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