mirror of
https://github.com/OpenSystemsLab/tempfile.nim
synced 2026-01-14 15:31:38 +00:00
No description
| .github | ||
| tests | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| tempfile.nim | ||
| tempfile.nimble | ||
| tempfile_seeder.nim | ||
tempfile.nim
This module contains basic procs for creating temporary files and directories
This module is impressed by Python's tempfile module
Installation
$ nimble install tempfile
Usage
import tempfile
var (file, name) = mkstemp()
echo name
var dir = mkdtemp()
echo dir