MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / SetOutputFile

Function SetOutputFile

Tools/bgen/bgen/bgenOutput.py:11–29  ·  view source on GitHub ↗

Call this with an open file object to make it the output file. Call it without arguments to close the current file (if necessary) and reset it to sys.stdout. If the second argument is true, the new file will be explicitly closed on a subsequence call.

(file = None, needclose = 0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

SetOutputFileNameFunction · 0.85
bgenOutput.pyFile · 0.85
qdsupport.pyFile · 0.85

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected