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

Function writelines_to_file

TestChatGLM.py:65–67  ·  view source on GitHub ↗
(file, lines)

Source from the content-addressed store, hash-verified

63 return lines
64
65def writelines_to_file(file, lines):
66 with open(file, 'w', encoding='utf8') as f:
67 f.writelines(lines)
68
69def writetext_to_file(file, contents):
70 with open(file, 'w', encoding='utf8') as f:

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected