Python Languagetempfile NamedTemporaryFile

Download Python Language for free

Parameters

paramdescription
modemode to open file, default=w+b
deleteTo delete file on closure, default=True
suffixfilename suffix, default=''
prefixfilename prefix, default='tmp'
dirdirname to place tempfile, default=None
buffsizedefault=-1, (operating system default used)

Related Examples

Create (and write to a) known, persistant temporary file