Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Felixgithub2017/MMCU
/ writelines_to_file
Function
writelines_to_file
TestBloomz.py:110–112 ·
view source on GitHub ↗
(file, lines)
Source
from the content-addressed store, hash-verified
108
return
lines
109
110
def
writelines_to_file(file, lines):
111
with
open(file,
'w'
, encoding=
'utf8'
)
as
f:
112
f.writelines(lines)
113
114
def
writetext_to_file(file, contents):
115
with
open(file,
'w'
, encoding=
'utf8'
)
as
f:
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected