• 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
82 used to open the file a second time, while the named temporary file is
123 This function securely creates a temporary directory using the same rules as :func:`mkdtemp`.
126 of the temporary directory object, the newly created temporary directory
153 Creates a temporary file in the most secure manner possible. There are
162 for deleting the temporary file when done with it.
208 Creates a temporary directory in the most secure manner possible. There
212 The user of :func:`mkdtemp` is responsible for deleting the temporary
234 Return the name of the directory used for temporary files. This
273 Return the filename prefix used to create temporary files. This does not
283 used for temporary files returned by :func:`gettempdir`. It can be
319 # create a temporary file and write some data to it
329 # create a temporary file using a context manager
338 # create a temporary directory using the context manager
340 ... print('created temporary directory', tmpdirname)
349 A historical way to create temporary files was to first generate a