MCPcopy Create free account
hub / github.com/Felixgithub2017/MMCU / read_file_lines

Function read_file_lines

TestChatGPT.py:70–73  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

68 return answer
69
70def read_file_lines(file):
71 with open(file, 'r', errors='ignore', encoding='utf8') as f:
72 lines = f.readlines()
73 return lines
74
75def writelines_to_file(file, lines):
76 with open(file, 'w', encoding='utf8') as f:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected