摘要:
(r"/favicon\.ico", tornado.web.StaticFileHandler,{'path':'./'})lol 阅读全文
posted @ 2013-10-29 17:41
Epirus
阅读(547)
评论(0)
推荐(0)
摘要:
#!/bin/python#coding=utf-8import osfrom PIL import Imagedir='/tmp/img/'fileName=(os.listdir(dir))size=338,266for i in fileName: suffix=i[-3:] index=fileName.index(i) im=Image.open(dir+i) im.convert('RGB').resize(size,Image.ANTIALIAS).save("/tmp/img/"+str(index)+".jpg&q 阅读全文
posted @ 2013-10-29 16:29
Epirus
阅读(3445)
评论(0)
推荐(0)
摘要:
cat fileName | \while read CMD;do echo $CMDdonels >1 while read line;do wget "http://www.baidu.com/"+linedoneFILE=testwhile read CMD;do echo "$CMD"done<"$FILE" 阅读全文
posted @ 2013-10-29 15:31
Epirus
阅读(512)
评论(0)
推荐(0)
摘要:
//img/@srclol 阅读全文
posted @ 2013-10-29 15:18
Epirus
阅读(257)
评论(0)
推荐(0)

浙公网安备 33010602011771号