tempdir(), tempfile() functions
Project description
Install
github.com: pip install git+git://github.com/russianidiot/temp.py.git
pypi.python.org: pip install temp
download: [ -e requirements.txt ] && pip install -r requirements.txt; python setup.py install
Usage
from temp import *
>>> tempdir() # dir
'/var/folders/rv/gy6_gnfs1d7_pd1518p27tsr0000gn/T/tmpqlLDxb'
>>> tempfile() # file
'/var/folders/rv/gy6_gnfs1d7_pd1518p27tsr0000gn/T/tmpsctFHJ'
>>> gettempdir() # $TMPDIR
'/var/folders/rv/gy6_gnfs1d7_pd1518p27tsr0000gn/T'
Feedback
- Chat with me (english/russian)
russianidiot.github.io/python/ - my Python packages
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-0.0.9.tar.gz
(7.0 kB
view hashes)