MCPcopy Index your code
hub / github.com/CadQuery/cadquery / writeStringToFile

Function writeStringToFile

tests/__init__.py:15–18  ·  view source on GitHub ↗
(strToWrite, fileName)

Source from the content-addressed store, hash-verified

13
14
15def writeStringToFile(strToWrite, fileName):
16 f = open(fileName, "w")
17 f.write(strToWrite)
18 f.close()
19
20
21def makeUnitSquareWire():

Callers 1

tearDownMethod · 0.90

Calls 1

closeMethod · 0.45

Tested by 1

tearDownMethod · 0.72