tokyocabinet-1.4.45]# ./configure ; make ;make install
yum -y install python-setuptools easy_install pytc ##easy_install MySQLdb
vi /etc/ld.so.conf ##add /usr/local/lib /usr/lib64 /opt/server/mysql/lib ldconfig
import time time.strftime("%y%m/%d/%H") yesday = time.strftime("%Y-%m-%d", time.localtime(time.time() - 3600*24) )