python-fhs
Python module for using the FHS and XDG basedir paths.
Loading...
Searching...
No Matches

◆ read_spool()

fhs.read_spool (   name = None,
  text = True,
  dir = False,
  opened = True,
  packagename = None 
)

Open a spool file for reading.

The paramers should be identical to what was used to create the file with write_spool().

Parameters
nameName of the spool file.
textOpen as a text file if True (the default).
dirReturn a directory name if True, a file or filename if False (the default).
openedOpen the file if True (the default), report the name if False.
packagenameOverride the packagename.
Returns
The opened file, or the name of the file or directory.

Definition at line 1164 of file fhs.py.

Here is the caller graph for this function: