temp.tempdir(), temp.tempfile() functions
Project description
Install
$ [sudo] pip install temp
Functions
function | description |
---|---|
temp.tempdir() |
create temp dir and return path |
temp.tempfile() |
create temp file and return path |
Examples
>>> import temp
>>> temp.tempdir() # dir
'/var/folders/rv/gy6_gnfs1d7_pd1518p27tsr0000gn/T/tmpqlLDxb'
>>> temp.tempfile() # file
'/var/folders/rv/gy6_gnfs1d7_pd1518p27tsr0000gn/T/tmpsctFHJ'
>>> temp.TMPDIR
'/var/folders/rv/gy6_gnfs1d7_pd1518p27tsr0000gn/T'
readme-md - README.md generator
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
temp-2018.11.20.tar.gz
(1.2 kB
view hashes)
Built Distribution
Close
Hashes for temp-2018.11.20-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcf7395fae8606da0042a72375ff95d29cde9e41313bc044bd28ea0299baf025 |
|
MD5 | a919025797ed0d1d45f64508177f6e88 |
|
BLAKE2b-256 | 3c2c684740b394a62d26bcd0668c731324857bd7b4d4d031227183c3e593bf98 |