• Home
  • Raw
  • Download

Lines Matching refs:temporary

1 :mod:`tempfile` --- Generate temporary files and directories
5 :synopsis: Generate temporary files and directories.
12 pair: temporary; file name
13 pair: temporary; file
17 This module creates temporary files and directories. It works on all
25 allow direct control over the location and name of temporary files and
28 shared temporary directories.
36 Return a :term:`file-like object` that can be used as a temporary storage area.
41 this; your code should not rely on a temporary file created using this
46 destruction of the file object the temporary file will be removed
85 used to open the file a second time, while the named temporary file is
126 This function securely creates a temporary directory using the same rules as :func:`mkdtemp`.
129 of the temporary directory object, the newly created temporary directory
156 Creates a temporary file in the most secure manner possible. There are
165 for deleting the temporary file when done with it.
211 Creates a temporary directory in the most secure manner possible. There
215 The user of :func:`mkdtemp` is responsible for deleting the temporary
237 Return the name of the directory used for temporary files. This
276 Return the filename prefix used to create temporary files. This does not
286 used for temporary files returned by :func:`gettempdir`. It can be
322 # create a temporary file and write some data to it
332 # create a temporary file using a context manager
341 # create a temporary directory using the context manager
343 ... print('created temporary directory', tmpdirname)
352 A historical way to create temporary files was to first generate a