This commit is contained in:
2025-03-20 10:25:05 +01:00
commit 45bccf468b
13 changed files with 271 additions and 0 deletions

10
read_cat.py Normal file
View File

@@ -0,0 +1,10 @@
def read_cat_file(filename="cat_file"):
out_list = []
with open(filename, "r") as cat:
for line in cat:
out_list.append(line.rstrip())
return out_list
if __name__ == "__main__":
print(read_cat_file())