Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Latest commit

 

History

History
20 lines (17 loc) · 316 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 316 Bytes

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