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

Function mkstemp

Lib/tempfile.py:274–308  ·  view source on GitHub ↗

User-callable function to create and return a unique temporary file. The return value is a pair (fd, name) where fd is the file descriptor returned by os.open, and name is the filename. If 'suffix' is specified, the file name will end with that suffix, otherwise there will be no su

(suffix="", prefix=template, dir=None, text=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

byte_compileFunction · 0.90
open_temp_exec_file_nameFunction · 0.85

Calls 2

gettempdirFunction · 0.85
_mkstemp_innerFunction · 0.85

Tested by

no test coverage detected