Delete outdated comments

This commit is contained in:
Emil Lundberg 2023-11-02 14:38:22 +01:00
parent e2856eddf3
commit e1430bce50
No known key found for this signature in database
GPG Key ID: 0F47E61493A9B8E5

View File

@ -4,19 +4,16 @@ import json
import os
# Function to load the contents of a file into a line list
def read_file_lines(file_path):
with open(file_path, 'r', encoding='utf-8') as file:
return file.readlines()
# Function to load the contents of a file into a line list
def read_file_json(file_path):
with open(file_path, 'r', encoding='utf-8') as file:
return json.load(file)
# Function to save a list of lines to a file
def write_to_file(file_path, text):
with open(file_path, 'w', encoding='utf-8') as file:
file.write(text)