tempfile NamedTemporaryFile

Download python eBook

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

Stats

61 Contributors: 4
Friday, February 17, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook