src/pylib/Lib/tempfile

Source   Edit  

Procs

proc gettempdir(): PyStr {....raises: [ValueError, OSError, FileNotFoundError],
                           tags: [ReadEnvEffect], forbids: [].}
Source   Edit  
proc gettempdirb(): PyBytes {....raises: [ValueError, OSError, FileNotFoundError],
                              tags: [ReadEnvEffect], forbids: [].}
Admonition: since Python 3.5
Source   Edit  
proc gettempprefix(): PyStr {....raises: [ValueError, OSError, FileNotFoundError],
                              tags: [ReadEnvEffect], forbids: [].}
Source   Edit  
proc gettempprefixb(): PyBytes {....raises: [ValueError, OSError, FileNotFoundError],
                                 tags: [ReadEnvEffect], forbids: [].}
Admonition: since Python 3.5
Source   Edit  
proc mkdtemp(suffix: PyStr | NoneType = None; prefix: PyStr | NoneType = None;
             dir: PyStr | NoneType = None): PyStr
Source   Edit  
proc mktemp(suffix = ""; prefix = templ; dir: PyStr | NoneType = "";
            checker = fileExists): PyStr
Source   Edit  

Templates

template name(self: TemporaryFileWrapper): PyStr
Source   Edit