This commit is contained in:
s452662 2024-04-23 20:51:53 +02:00
parent 7743dd2472
commit 77806b3f25

4
run.py
View File

@ -21,8 +21,8 @@ def read_tsv_file(file_path):
data = [] data = []
with open(file_path, 'r', encoding='utf-8') as file: with open(file_path, 'r', encoding='utf-8') as file:
for line in file: for line in file:
line = line.strip().split('\t') # Rozdziel linie na elementy za pomocą tabulatora line = line.strip().split('\t')
data.append(line) # Dodaj elementy do listy danych data.append(line)
return data return data