Editor of WebProgramming.
Python cheat sheet
pickle:
cPickle.dump (object, open (fname, 'wb'), 1)
object = load (open (fname, 'wb'))
date format:
time.strftime ("%Y-%m-%d %H:%M:%S", time.localtime (time.time ()))
cStringIO:
buffer.getvalue ()
tempfile:
import tempfile
var = tempfile.mktemp () # deprecated
To do
Information Search Tree
- c.l.p
- parnassus
- official docs
- guides
- cookbooks
