skip to main
|
skip to sidebar
Tech Notes
Sunday, September 27, 2009
Python unique time string
Because this is always handy and I always seem to forget:
>>> import time
>>> str(time.time()).split('.')[0]
Useful for generating filenames based on the time etc.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Labels
ubuntu
python
encryption
linux
vim
fstab
lvm
macbook
osx
postfix
postgres
ssd
truecrypt
Blog Archive
►
2011
(11)
►
July
(1)
►
March
(2)
►
February
(2)
►
January
(6)
►
2010
(4)
►
October
(1)
►
July
(1)
►
June
(1)
►
February
(1)
▼
2009
(6)
►
October
(1)
▼
September
(1)
Python unique time string
►
June
(1)
►
May
(3)
No comments:
Post a Comment